ScanTrust iOS SDK is the native SDK for the ScanTrust Scan Engine.
The SDK offers the management of the camera, the image processing of the incoming frames and other features includes some utility functions.
Copy and Paste all the necessary header and lib files to your project and don’t forgot to check App target
Add the below frameworks into your xCode project:
Depending on how you set up your project, the standard c++ library may or not be included by default.
If you are using swift as the development language, you need to import the framework’s headers into the bridging header file:
#import <STAuthenticate/STCameraManager.h>` #import <STAuthenticate/STLimitedCameraManager.h>`
To authenticate or scan the secure QR codes there are some limits, only the iPhones which has higher quality iSight camera can scan the secure QR codes. For other iPhones, iPads and iPods the SDK will work like a normal QR code reader and it will give the scanned QR code URL/Text back. To get to know more about compatible phones please check this link or use the SDK utility method to identify current device is compatible for authenticating ScanTrust code or not.
Minimum deployment target as iOS 8.0 and above.
In order for SDK to work, the following device permissions are required:
NSCameraUsageDescription To scan QR codes
NSLocationWhenInUseUsageDescription Location is required to find out where you are
SDK will make network requests to ScanTrust backend, so add the host names under
App Transport Security Settingsin
Camera preview view must be full screen excluding the navigation bar and status bar