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 themain branch:
Swift Package Manager
Info.plist: NSCameraUsageDescription, NSMicrophoneUsageDescription (video), and NSLocationWhenInUseUsageDescription (location).
Initialize
CallDojahWidgetSDK.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 thepod-package branch:
Podfile
Resources
- GitHub — dojah-inc/sdk-swift (SDK and example app)
- Releases and changelog — check here before pinning a version
- Choosing an SDK · EasyOnboard