Installation Guide
OkayCam Plus is a new module aimed at enhancing selfie verification processes by combating deepfake and injection attacks.
Minimum Requirements
Minimum Requirements: iOS 15+ and Swift 5
Installation
OkayCamPlus is available through CocoaPods. To install it, add the following to your app target in your podfile:
use_frameworks!
pod 'OkayCamPlus'
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "CryptoSwift"
puts "Enable module stability for CryptoSwift"
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
You will need to add NSCameraUsageDescription
to your info.plist
for camera permissions.
Usage
Start by importing OkayCamPlus
module into your swift file.
import OkayCamPlus
Example Project
To run the example project, clone the repo, and run pod install
from the example directory first.
Last updated
Was this helpful?