Video Id Component
0. SDK Mobile baseline requirementsβ
SDK Mobile is a set of libraries (Components) that offer a series of functionalities and services, allowing their integration into a Mobile application in a simple and fully scalable way. Depending on the use case that is required, certain components must be installed. Its high level of modularity allows other new components to be added in the future without affecting those already integrated in the project.
For more information on the base configuration, go to the Getting Started section.
1. Introductionβ
The Component discussed in the current document is called VideoID Component. This is responsible for recording a user identifying themselves, showing their face and their identity document.
1.1 Minimum requirementsβ
The minimum iOS SDK version required is as follows:
Minimum iOS version: 13β
2. Integration of the componentβ
β οΈ Before integrating this component, it is recommended to read the documentation related to Initial Integration and follow its instructions.
This section will explain step by step how to integrate the current component into an existing project.
2.1. Dependencies required for integrationβ
In order to avoid conflicts and compatibility problems, in case you want to install the component in a project containing an old version of the Facephi libraries. of the Facephi libraries (Widgets), these must be completely removed before the installation of the components. completely before the installation of the components of the SDKMobile components.
Cocoapodsβ
- Currently the FacePhi libraries are distributed remotely through different dependency managers, in this case Cocoapods. The mandatory dependencies that must have been previously installed (adding them to the project's Podfile file) are:
pod 'FPHISDKMainComponent', '~> 2.3.0'
- To install the VideoID component, the following entry must be included in the application's Podfile:
pod 'FPHISDKVideoIDComponent', '~> 2.3.0'
-
Once the dependencies are installed, you can use the different functionalities of the component.
-
If developing with XCode15, a post-installation script must be included:
2.2 Permissions and configurationsβ
In the client application where the components are going to be integrated it is necessary to incorporate the following elements in the Info.plist file.
It is necessary to allow the use of the camera (Privacy - Camera Usage Description).
3. Start new operationβ
In order to generate the associated information correctly in the platform, the newOperation command must be executed first.