FACEKI BLAZE 3.0 Documentation
  • Getting Started
  • Older Documentation
  • Quick Guides
    • Image Guidelines
    • Workflow Setup
    • Verification Monitoring
    • API Credentials
    • Webhook Setup
  • Integrations
  • No Integration Option
    • Zero Integration (via a Link)
  • API Integration
    • Verification APIs
      • Authentication
      • Generate KYC Link
      • Perform KYC Verification
      • Fetch Records
      • Face Match API (💲)
      • Fetch PDF Report
  • Data Fields
    • Verification Data
      • EKYC Webhook Structure
    • Error Codes
  • Mobile SDK
    • React Native SDK / Plugin
    • iOS SDK
    • Android SDK
    • Flutter SDK
  • Web SDK
    • React
  • Need Help?
    • Whatsapp
    • Support
    • FAQ's
Powered by GitBook
On this page
  • FACEKI-BLAZE-IOS SDK
  • Overview
  • Installation
  • Manual Installation
  • Usage
  • Requirements
  • Need Support?
  1. Mobile SDK

iOS SDK

iOS SDK For FACEKI

PreviousReact Native SDK / PluginNextAndroid SDK

Last updated 1 year ago

FACEKI-BLAZE-IOS SDK

Overview

The FACEKI-BLAZE-IOS SDK is an iOS framework developed by Faceki, providing advanced eKYC (Electronic Know Your Customer) and Facial Recognition capabilities for iOS applications. This SDK enables seamless identity verification using document and selfie verification.

Installation

CocoaPods

To integrate FACEKI-BLAZE-IOS SDK into your Xcode project using CocoaPods, add the following lines to your Podfile:

```ruby
target 'YourProjectName' do
  pod 'FACEKI-BLAZE-IOS', '~> 3.0.0'
end

Then, run the following command:

$ pod install

Manual Installation

You can also manually integrate the FACEKI-BLAZE-IOS SDK into your project. Download the SDK from and follow the instructions provided in the documentation.

Permission

Add the following usage descriptions to your Info.plist

<key>NSCameraUsageDescription</key>
<string>For taking photos for kyc</string>

Usage

Callbacks

Implement the following callbacks to handle the SDK responses:

func onComplete(data:[AnyHashable:Any]){
    print("API Response")
    print(type(of: data))

    if let dataObject = data["result"] as? [AnyHashable: Any]{
        print(dataObject["requestId"]!)
        print(dataObject["decision"]!)

    }
    
}

// Redirect After Result Screen

func onRedirectBack() {
    DispatchQueue.main.async {
        // Perform UI work here
        self.navigationController?.popToRootViewController(animated: true)
    }
}

Initialization

import FACEKI_BLAZE_IOS

class YourViewController: UIViewController {

    @IBAction func captureAction(_ sender: Any) {
        let smManagerVC = Logger.initiateSMSDK(
            setClientID: "yourClientId",
            setClientSecret: "yourClientSecret",
            workflowId:"yourworkflowID",
            setOnComplete: onComplete,
            redirectBack: onRedirectBack,
            selfieImageUrl: nil,
            cardGuideUrl: nil
        )
        navigationController?.pushViewController(smManagerVC, animated: true)
    }

    // ... (rest of your ViewController code)

}

Requirements

  • Swift 5.0

  • iOS 13.0 and later

Need Support?

Callback that will recieve the response back from the API for data level information

Contact us on WhatsApp

GitHub releases
https://docs.faceki.com
Click here