Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dojah.io/llms.txt

Use this file to discover all available pages before exploring further.

All file links (e.g. selfie URLs, document URLs) returned in the response expire within one hour. We strongly recommend transferring these documents and images to your own infrastructure as soon as you receive them. If a link expires before you are able to download the file, call the Fetch KYC widget Verification Data endpoint to generate a new link — which will also expire in one hour.
Package : dojah_kyc_sdk_swift Example Application: https://github.com/dojah-inc/sdk-swift

Installation

Using SPM add https://github.com/dojah-inc/sdk-swift.git as a dependency and set the Dependency Rule to the main branch. Add the following keys to your Info.plist file:
  • NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
  • NSMicrophoneUsageDescription - describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy - Microphone Usage Description in the visual editor.
  • NSLocationWhenInUseUsageDescription - describe why your app needs access to the location, if you intend to verify address/location. This is called Privacy - Location Usage Description in the visual editor.

Usage

DojahWidgetSDK.initialize(
    widgetID: {Required: Your_WidgetID},
    referenceID: {Optional: Reference_ID},
    emailAddress: {Optional: Email_Address},
    navController: {Required: UINavigationController Instance}
)

SDK Parameters

  • WidgetID - a REQUIRED parameter. You get this ID when you sign up on the Dojah platform
  • Reference ID - an OPTIONAL parameter that allows you to initialize the SDK for an ongoing verification.
  • Email Address - an OPTIONAL parameter that allows you to initialize the SDK for an ongoing verification.
  • navController - a REQUIRED parameter. An instance of UINavigationController from which the SDK is presented.

Contributing

  • KYC WIDGET Repository
  • Fork it!
  • Create your feature branch: git checkout -b feature/feature-name
  • Commit your changes: git commit -am 'Some commit message'
  • Push to the branch: git push origin feature/feature-name
  • Submit a pull request 😉😉