Skip to content

Upgrading to SDK v12.x

Emre Sari edited this page Jul 3, 2025 · 6 revisions

Upgrading to v12.4.1

There are no code changes required to upgrade to v12.4.1

Upgrading to v12.3.1

This version adds a new option which can be applied as follows:

options.genuinePresenceAssurance.scanningPrompts = true

Upgrading to v12.3.0

There are no code changes required to upgrade to v12.3.0

Upgrading to v12.2.0

This version adds a new option called controlYPosition which can be applied as follows:

let options = Options()
options.genuinePresenceAssurance.controlYPosition = true

Upgrading to v12.1.0

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
    }

Upgrading to v12.0.0

Deployment Target

SDK v12 drops support for iOS 12 and now only supports iOS 13+.

Objective-C integrations can now cancel

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];

Clone this wiki locally