Resources
Best practices
- Initialize the SDK on application load (typically in
AppDelegate'sdidFinishLaunchingWithOptionsorviewDidLoad), not on the capture button click. Authentication with the backend takes a few seconds and, if done together with the camera opening, creates a perception of lag. - Do not use bridges to implement the native iOS SDK inside Flutter. Use the official Flutter plugin.
- Keep the SDK updated. Unico is not responsible for issues in deprecated versions.
- Open the workspace, not the project. If you're using CocoaPods, always open the
.xcworkspacefile, not.xcodeproj.
Reference app
Unico offers a reference app for iOS in the reference-apps repository. It implements the full user journey with the SDK.
| Flow | Description | Repository |
|---|---|---|
| User Journeys | Reference app in Swift that implements the full user journey flow | GitHub — reference-apps/ios |