Instruction for upgrading the Onegini Android SDK to version 9.6
New error ACTION_ALREADY_IN_PROGRESS
Since the SDK is a stateful library, you should not call asynchronous methods (like
start()) in parallel. Starting with this version
the SDK will return ACTION_ALREADY_IN_PROGRESS (9007) error in case when multiple calls to the same asynchronous method are made in parallel. You should
investigate if you receive the new error in any scenarios and fix it by preventing multiple calls in parallel.
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:
OkHttp library was updated to the version 3.12.3:
com.squareup.okhttp3:okhttp:3.12.3 com.squareup.okhttp3:okhttp-urlconnection:3.12.3 com.squareup.okhttp3:logging-interceptor:3.12.3
The Onegini SDK still maintains support for Android 4.x and thus could not use the latest version of the OkHttp library (3.13.x) as it does not have support Android 4.x at this time.
Retrofit library was updated to the version 2.6.0:
com.squareup.retrofit2:retrofit:2.6.0 com.squareup.retrofit2:converter-gson:2.6.0 com.squareup.retrofit2:adapter-rxjava2:2.6.0
RxJava library was updated the the latest version 2.2.9: