Integration¶
Project setup¶
Inside folder Frameworks you will find frameworks.
List of modules:
-
IDLiveDocCaptureIADis the primary module for integration. The module contains a view controller (IDCameraController) that implements a streamlined UI for helping a user take a photo while checking it for quality compliance, and to show the attack detection result. -
IADCommonimplements features allowingIDCameraControllerto create the IAD (Injection Attack Detection) bundle suitable for sending to server. -
DocSdkMobile- module responsible for document detection and quality evaluation. -
CaptureCommon- module for preparingAVCaptureSession, video camera permissions and UI (UIKit).
These modules are designed to avoid specific injection attacks occurring on iOS device environments and is designed to be bundled into other iOS applications as a feature that will aid in verifying digital identity attacks.
This delivery contains iOS frameworks for integrating the IAD (injection attack detection) technology into your application, as well as documentation and an example app.
- check the Docs folder for API documentation of framework.
- check an example app [Sample App][demo_app] that makes use of our iOS Capture Library
Note
Please be sure that your Xcode version is at least Xcode 16
Add all xcframeworks to your Xcode project under "Frameworks, Libraries, and Embedded Content".
IDLiveDocCaptureIAD.xcframeworkDocSdkMobile.xcframeworkIADCommon.xcframeworkCaptureCommon.xcframework
Make sure Embed & Sign is chosen as Embed option.
If an error occurs during the building of your app, make sure that the frameworks are being linked against in Build Phases.
If needed, add a path to the frameworks to Framework Search Paths in Build Settings (e.g. $(PROJECT_DIR)/frameworks)
Note
It is important to add NSCameraUsageDescription to your Info.plist
Add NSCameraUsageDescription to your Info.plist to allow your app to take photos.
The message you will enter will be shown when the user is asked for permission to take photos.
iOS version support¶
Min iOS version: iOS 14.0