Embed the VerifEye identity-verification flow into your iOS app.
This package is distributed as a precompiled XCFramework (closed source). It is produced from Realeyes' internal source and published here for public consumption.
- iOS 16 or later
- An
NSCameraUsageDescriptionentry in your app'sInfo.plist - A VerifEye account and API key (Developer Console)
In Xcode: File → Add Package Dependencies… and enter this repository URL, or add it to your
Package.swift:
dependencies: [
.package(url: "https://github.com/Realeyes/Verify-Service-iOS", from: "1.0.0")
]Then add Verifeye to your target and import Verifeye.
import SwiftUI
import Verifeye
struct Verification: View {
let sessionId: String
let accessToken: String
var body: some View {
VerifyVerifier(
sessionId: sessionId,
accessToken: accessToken,
onVerificationCompleted: { completedSessionId in
// Flow finished — fetch the outcome server-side.
},
region: .eu
)
}
}Create the verification session and read its result server-side with your API key; the SDK only
receives the short-lived sessionId + accessToken.
Full API reference and guides: https://verifeye-docs.realeyes.ai/cloud-apis-web-sdks/ios-sdk/