Upgrade MobilePush SDK for Android From Version 8.x to 8.2.x
The MobilePush SDK for Android version 8.2.x is compiled using JDK 17. This version of the JDK meets the requirements of Gradle and Google. For more information, see the Change Log. When you upgrade from 8.x to 8.2.x, you must make some changes to your app’s code.
To upgrade to Android SDK version 8.2.x, add the SDK as a dependency to your build.gradle file, as shown in this example.
To use the latest SDK version, replace 8.2.x with the latest version number available on the Change Log.
After you add the latest version of the SDK as a dependency and fetch that version in your project, modify your implementation of PushModuleReadyListener, as shown in this example.
This step applies only to Java-based implementations. Skip this step if your implementation uses Kotlin.