Aldus SDK is a Peer-to-peer, Feature-rich, Realtime Identity Verification Solution through Video Chat.
The Video Customer Identification Process (V-CIP) can be integrated into your existing App flow and connects to the Aldus Web Client.
Available features
- Secure and Live P2P Video Chat with recording
- Screen Sharing
- Face & ID Capture
- Geo-Tagging
- Anti-Spoof Liveliness check
You can find the release history at Changelog
- Prerequisite
- iOS SDK Requirements
- Setup
- Installation
- Quick Start
- Aldus Result
- Aldus Error Codes
- Aldus Parameters
- Help
The Aldus iOS SDK communicates with its web counterpart, the Aldus Web Client. Make sure to have integrated the Aldus Web Client so that a Peer-to-peer connection can be established.
You will need a valid license to use the Aldus SDK, which can be obtained by contacting support@frslabs.com
. Once you have the license , follow the below instructions for a successful integration of Aldus SDK onto your iOS Application.
- iOS 10.0+
- Xcode 11.2
In Info.plist file add following code to allow your application to access iPhone's camera, microphone and location:
<key>NSCameraUsageDescription</key> <string>Aldus needs access to your camera to initiate the video call and verify your identity. It is completely private and secure with end to end encryption.</string>
<key>NSMicrophoneUsageDescription</key> <string>Aldus uses your microphone to enable audio visual call with a Bank Official. It is completely private and secure with end to end encryption.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>This allows Aldus to verify your physical location per Reserve Bank of Inida norms. This check is essential to proceed with the Video KYC.</string>
<key>NSLocationWhenInUseUsageDescription</key> <string>This allows Aldus to verify your physical location per Reserve Bank of Inida norms. This check is essential to proceed with the Video KYC.</string>
You can use CocoaPods to install Aldus
by adding it to your Podfile
:
platform :ios, '11.0'
source 'https://gitlab.com/frslabs-public/ios/aldus.git'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod 'Aldus','1.0.0'
pod 'GoogleWebRTC', '1.1.28913'
pod 'Starscream', '3.0.2'
pod 'Zip'
import Aldus
Aldus.performSegueToFrameworkVC(caller: self, licenceKey: "licence_key", serverUrl: aldus_url)
class ViewController: UIViewController, AldusResultDelegate {
func didReceiveAldusResult(_ data: AldusResult) {
let sessionId = data.sessionId
print("AldusResult -> ",sessionId)
}
func didFailedAldusResult(_ error: String) {
print("AldusError: ", error)
}
}
The result is obtained through the AldusResult
object
Given below is the Result classes in brief.
Public Methods | ||
---|---|---|
String | getSessionId() | Returns the Session Id |
Error codes and their meaning are tabulated below
Label | Code | Message |
---|---|---|
ERROR_CODE_PERMISSION | 1000 | Required permissions for Aldus SDK were not granted |
ERROR_CODE_EXPIRED_LICENSE | 1001 | Aldus SDK License has expired |
ERROR_CODE_INVALID_LICENSE | 1002 | Invalid Aldus SDK License |
ERROR_CODE_INVALID_CONFIG | 1003 | Invalid Aldus SDK Config |
ERROR_CODE_NETWORK_ERROR | 1100 | Network Error |
ERROR_CODE_INTERRUPTED | 1200 | Aldus SDK Interrupted |
ERROR_CODE_DENIED_LOCATION | 1201 | User denied enabling location |
ERROR_CODE_OUT_OF_COUNTRY | 1202 | User's location was found to be outside the country |
-
Pass licence key as a paramenter
(Required)Accepts the Aldus licence key as a
String
-
Pass Aldus server url
(Required)Sets the
aldus_url
, required for networking inside the Aldus SDK
For any queries/feedback , contact us at support@frslabs.com