Instruction for upgrading the Onegini Android SDK to version 9.1

When upgrading to version 9.1 some changes have to be applied in the end application:

Minimum supported Token Server Version 8.2.0

Due to the SDK initialization improvement you need to update the Token Server to at least 8.2.0 version first.

New application signature algorithm

The application signature (secret) is now calculated using new algorithm that takes Google Play Store metadata into account. This algorithm is different than the one used by the Application Signature Calculator v1.x. Therefore, if you want to use the Application Signature Calculator you must use the updated v2.x

Onegini SDK ProGuard rules were embedded into the library

The file has been embedded in the Onegini SDK library and it no longer has to be explicitly specified in your application. You can remove the file from the application and edit your proguardFiles configuration in the buildTypes section of the application's build.gradle file to remove its usage.

Third-party libraries were updated

A couple of third-party libraries were updated, if you provide the SDK as an aar archive please update the dependencies in your project:

  • SQLCipher library was updated to the version 3.5.9: net.zetetic:android-database-sqlcipher:3.5.9
  • OkHttp library was updated to the version 3.10.0:
  • Retrofit library was updated to the version 2.4.0:
  • Firebase Cloud Messaging library was updated to the version 15.0.2:
  • RxJava library was updated the the latest version: