Forced app update

As an app developer you might want to force users to upgrade outdated applications. The SDK, together with the Token Server provides functionality to detect outdated applications and give you a possibility to handle this situation in a callback.

Token Server administrators can mark specific app versions as out of date in the admin panel (please refer to the Token Server administration guide for more details). One of the steps during the SDKs authorization flow is validating the current app version on the server side. If the app version provided by the SDK is recognized by the Token Server as outdated, then the authorization flow is interrupted by calling the following method:

- (void)authenticationErrorInvalidAppPlatformOrVersion;

on the ONGAuthenticationDelegate instance passed to one of the authentication methods.

App developers can use this method to show a proper message to the user and ask the user to update the app.

results matching ""

    No results matching ""