Comment on page
Sybrin Biometrics makes use of cocoapods dependency manager for distributing our SDK. If you are not familiar with cocoapods, or require assistance in using cocoapods, visit https://guides.cocoapods.org/using/getting-started.html
If you don’t have an existing Podfile, run the following command to create one:
$ pod init
Add the following lines to your Podfile:
Finally, run the following command:
$ pod install
Remember to use the
.xcworkspacefrom now on, to open your project in XCode!
If you would like to update Sybrin Biometrics, in the future, use the following terminal command:
$ pod update Sybrin.iOS.Biometrics
You can now open your project using the
.xcworkspaceas indicated by cocoapods.
Sybrin Biometrics requires bitcode to be disabled. This can be configured in the
Sybrin Biometrics requires the camera permission, to capture biometric information. Add the
Privacy - Camera Usage Descriptionproperty to your
Before using any of the Biometrics SDK features, you will need to initialize an instance of the
SybrinBiometricsConfigurationclass and set the
let licenseKey: String = "Your license key"
let sybrinConfig = SybrinBiometricsConfiguration(license: licenseKey)
// Set any further configuration options here
SybrinBiometrics.shared.configuration = sybrinConfig
SybrinBiometrics.shared.configurationproperty should only happen once. Trying to set the property after a configuration has already been set will fail.
You can still make changes to the configuration object after it was set, but you can't set a new configuration.