-
Notifications
You must be signed in to change notification settings - Fork 11
Upgrading to SDK v12.x
Emre Sari edited this page Jul 3, 2025
·
6 revisions
There are no code changes required to upgrade to v12.4.1
This version adds a new option which can be applied as follows:
options.genuinePresenceAssurance.scanningPrompts = true
There are no code changes required to upgrade to v12.3.0
This version adds a new option called controlYPosition
which can be applied as follows:
let options = Options()
options.genuinePresenceAssurance.controlYPosition = true
This version adds a new IProovError
case called consentRequired
which can be used in your callback as follows:
case let .error(error):
switch error {
case .consentRequired:
// act on consentRequired error
default:
// handle default case as desired
}
SDK v12 drops support for iOS 12 and now only supports iOS 13+.
It is now possible to cancel the SDK programmatically from your app when using Objective-C like so if you keep a reference to IPSession
:
session = [IProov launchWithStreamingURL: /* your URL */
token: /* your token */
options:[IPOptions new]
connecting:^{
} connected:^{
} processing:^(double progress, NSString * _Nonnull message) {
} success:^(IPSuccessResult * _Nonnull result) {
} canceled:^(enum IPCanceler canceler) {
NSLog(@"received canceled");
} failure:^(IPFailureResult * _Nonnull result) {
} error:^(NSError * _Nonnull error) {
}];
...
BOOL hasCanceled = [session cancel];