Licensing

Click Here to get details about RECOGNITO license option

License Option

Get your Bundle ID

To activate SDK, you have to first get your Bundle ID:

Request License

Share your Bundle ID with us for license key.

Contact us

Activate SDK

Activate the SDK with license key. Should be called before using of any other functions.

override func viewDidLoad() {
    super.viewDidLoad()
    var ret = SDK_LICENSE_KEY_ERROR.rawValue
    if let filePath = Bundle.main.path(forResource: "license", ofType: "txt") {
        do {
            let license = try String(contentsOfFile: filePath, encoding: .utf8)
            ret = FaceSDK.setActivation(license)
        } catch {
            print("Error reading file: \(error)")
        }
    } else {
        print("File not found")
    }
    
    if(ret == SDK_SUCCESS.rawValue) {
        ret = FaceSDK.initSDK()
    }

Last updated