2.50.0 and Later¶
Android Minimum API Level 21¶
The minimum supported Android API level for the Tapkey Mobile SDK has been increased from 19
to 21
.
If the target application still supports API levels below 21
, update the minSdk
value in the build.gradle
file to ensure compatibility:
android {
defaultConfig {
minSdk = 21
}
}
Renamed Api¶
To ensure consistent API naming and avoid conflicts with new introduced Kotlin extensions, methods of the PushNotificationManager
have been renamed. These changes require code adjustments:
PushNotificationManager.receivedPushNotification(...)
->PushNotificationManager.receivedPushNotificationAsync(...)
PushNotificationManager.updateRegistrationToken(...)
->PushNotificationManager.updateRegistrationTokenAsync(...)