Welcome to the guide on how to get started with the Revolut Reader SDK for iOS. This SDK is designed to facilitate seamless integration of the Revolut Reader into your iOS applications, enabling efficient card payment processing.
Before using the SDK, you need to create an account on the Revolut Developer Portal.
Drag and drop the binary frameworks from the RevolutCardReader
folder into your Xcode project:
RevolutCardReader.xcframework
UCube.xcframework
...
You need to set up several configurations in your Xcode project to use the Revolut Card Reader SDK.
Enable the use of bluetooth LE accessories, by adding:
<key>UIBackgroundModes</key>
<array>
<string>bluetooth-central</string>
</array>
Include the following keys for bluetooth usage descriptions in your Info.plist
file:
<dict>
...
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Revolut uses Bluetooth to communicate with printers, and credit card readers</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Revolut uses Bluetooth to communicate with printers, and credit card readers</string>
...
</dict>
The texts for the keys will be displayed when iOS prompts the user for permissions to access bluetooth capabilities. You can customize these texts to align with your app's requirements.