Skip to main content
Present Dojah’s verification flow in an iOS app with the Dojah Swift SDK, added via Swift Package Manager.
Mobile SDKs launch by WidgetID (from EasyOnboard). See Choosing an SDK.

Install

Add the package in Xcode (File → Add Packages…) using the repository URL, on the main branch:
Swift Package Manager
Add the usage descriptions your flow needs to Info.plist: NSCameraUsageDescription, NSMicrophoneUsageDescription (video), and NSLocationWhenInUseUsageDescription (location).

Initialize

Call DojahWidgetSDK.initialize with your WidgetID and a UINavigationController to present on:
ViewController.swift

CocoaPods

If your project uses CocoaPods rather than Swift Package Manager — which is how the React Native and Flutter SDKs pull iOS in — add the pod from the pod-package branch:
Podfile

Resources