Upgrade MobilePush Android SDK From Version 8.x to 8.2.x
The MobilePush Android SDK version 8.2.x has been compiled with JDK 17 to meet the latest requirements from Gradle and Google. For more information on this release, refer to the Change Log.
To accommodate the changes in code compilation across different JDK versions, you must adjust your existing implementation.
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've added the latest version of the SDK as a dependency and fetched that version in your project, you must modify your implementation of PushModuleReadyListener
as shown in this example.
This step is only applicable to Java-based implementations. If your implementation is based on Kotlin, don't perform this step.