Installation Guide
In this section, you will find all the information needed to install the Unico IDCloud platform SDK in your Web applications
Compatible Browsers
The capture frame provided through the SDK is compatible with the following combinations of browsers and operating systems:
Windows (desktop)
N/A
N/A
Android
N/A
iOS
N/A
MacOS (desktop)
N/A
In general, the SDK supports WebRTC and the more recent versions of the browsers listed above. For compatibility and security reasons, functionality on very old versions of these browsers is not guaranteed.
Webview Operation
It is a system component that allows Android or iOS applications to display web content directly within the app, based on the same code project. It is responsible for navigation on websites and web content within the apps.
Preconditions
It is necessary to have implemented the Web SDK in an application that contains a secure domain with the https protocol.
Compatibility with Operating Systems
Android:
The Web SDK is compatible with webviews running on Android 8 (API 26) or higher.
For the SDK to work correctly, it is necessary to add some permissions and configurations to the AndroidManifest file, which are as follows:
iOS
The Web SDK is compatible with webviews running on iOS 13 or higher.
For the SDK to function correctly, it is necessary to add some permissions and configurations to the info.plist
file, which are as follows:
Compatibility with Hybrid Frameworks
The component has been approved only for native layers. To be used in hybrid frameworks (Flutter or React Native), it is necessary to implement it in the native layer of Android and/or iOS.
Our support is limited to applications developed directly on native Android and iOS platforms, using their respective native modules. Currently, we do not offer support for applications developed in hybrid frameworks such as React Native, Ionic, or other cross-platform development technologies.
Compatibility with social media webviews
The component has been approved on the Instagram and Facebook social media platforms in Liveness mode without interaction. The Liveness mode with interaction is not compatible with webviews in social media apps.
Installing the Web SDK
To implement the Unico IDCloud Android SDK into your Android application, follow the step-by-step guide below:
Content Security Policy (CSP) Setting
The Web SDK uses Web Workers to enhance security and performance. Therefore, it is necessary to add the following configurations to your Content Security Policy (CSP):
If your application has a CSP, this configuration is mandatory to ensure the correct functioning of the SDK.
Obtaining Credentials
Contact the CSs and/or Onboarding team.
Request the SDK Key by providing the identifiers of your applications. Bundle Identifier for iOS, PackageID for Android, and Host for WEB.
The identifiers of your applications will be linked to the SDK Key by the Unico team.
You will receive your SDK Key to implement the UnicoConfig.
Embedding Other Files in Your Project
The table below lists additional resource files available for inclusion in your project. You should download them and include them in your project to perform Liveness capture:
3.18.10
3.18.9
3.18.8
3.18.7
3.18.6
3.18.5
3.18.4
3.18.0 -> 3.18.3
3.16.4 -> 3.17.0
3.16.3
3.16.2
3.14.1 -> 3.16.1
3.11.1 -> 3.14.0
3.10.2 -> 3.11.0
3.10.1
3.9.1 -> 3.10.0
3.9.0
3.8.3
3.8.2
3.8.0 -> 3.8.1
3.7.1 -> 3.7.2
3.6.5 -> 3.7.0
3.6.3 -> 3.6.4
3.6.1 -> 3.6.2
3.5.4 -> 3.6.0
3.5.3
3.5.0 -> 3.5.2
Installation
The Web SDK is provided through an npm package or CDN. To install it, follow the steps below according to your preference:
Installation via NPM package
Or via yarn, with the command below:
Installation via CDN
To install the SDK in your project through the CDN, simply download the file below and import it into your project.
Last updated
Was this helpful?