Skip to main content
  • Minimum iOS: 16.0
  • Swift tools: 5.9
  • UI frameworks: SwiftUI and UIKit

Add the package

In Xcode: File → Add Package Dependencies… and enter:
Pick the latest version and add the ChmodKyc library to your app target. Or, if you manage dependencies in a Package.swift:

Info.plist

Three entries are required.
iOS terminates the app the moment the SDK asks for the camera if NSCameraUsageDescription is missing. This is the operating system killing your process, not the SDK failing, so there is nothing to catch. Add it before you run the flow once.
string
required
Shown in the camera permission prompt. Always required.
string
Shown in the location permission prompt. Required only while locationPermission is REQUIRED.
boolean
required
Not a permission. It opts the render loop into the full refresh rate on ProMotion iPhones. The SDK validates it when the flow is presented and throws if it is missing or false.

Verify the setup

Import the module and build. If it compiles, the package is wired up:

Next

Quick start

Launch the flow from SwiftUI or UIKit.

Handling the result

Every outcome and error code.