- iOS 13.0+
- Swift 5.9+
Add the SDK to your project using Swift Package Manager:
- In Xcode, go to File → Add Package Dependencies...
- Enter the repository URL:
https://github.com/truora/truora-validations-sdk.git - Select version:
0.0.1or higher - Select the
TruoraValidationsSDKproduct
Add the dependency in your Package.swift file:
dependencies: [
.package(url: "https://github.com/truora/truora-validations-sdk.git", from: "0.0.1")
],
targets: [
.target(
name: "YourTarget",
dependencies: [
.product(name: "TruoraValidationsSDK", package: "truora-validations-sdk")
]
)
]Add the following permissions to your app's Info.plist or in the target's Info tab:
| Key | Type | Value |
|---|---|---|
Privacy - Camera Usage Description |
String | "We need camera access to capture documents and validate your identity" |
Privacy - Photo Library Usage Description |
String | "We need photo library access to select document images" |
CADisableMinimumFrameDurationOnPhone |
Boolean | YES |
Note: CADisableMinimumFrameDurationOnPhone is required by the Compose Multiplatform library used internally.
import SwiftUI
import TruoraValidationsSDKThe SDK includes the following modules:
- Document Capture: Smart capture of front and back of identity documents
- Facial Recognition: Biometric validation through facial capture with liveness detection
- Passive Validation: Identity analysis without user interaction
- Camera Integration: Optimized camera module with automatic document detection using TensorFlow Lite
For technical support or inquiries:
- Email: support@truora.com
- Documentation: https://docs.truora.com
Copyright © 2026 Truora. All rights reserved.