Android SDK 5.6.0

Multi-Configuration Support

  • Introduced support for multiple SDK configurations within the same application.
  • Enables use of different API setups simultaneously.

Text Manager

  • Added callback to notify when texts from text manager have been loaded.
override fun onTextLoaded() {
    Log.d("TESTSDK","ON TEXTS LOADED")
}

Optional JWT

  • JWT token is now optional to send in a request. Still sent by default.
req.sendJWTAuthorization = false

Push Notification Background Support

  • Added support for custom background color in notifications.
install(app: Application, conf: APLocalConfiguration, listen: APSDKInterface?, notificationBackgroundColor: Int? = null)

Dialog Module

  • Replaced empty dialog message errors with cleaner log responses.
  • Improved fallback behavior when no content is available.

Push click behaviour

  • A flag has been added as APPushManager.recreateActivityOnPushClicked: Bool.
  • It is true by default which keeps the behaviour as it has always been, but if you set it to false then the following happens:
    • The Intent Flags used when starting the activity when clicking on a push are changed to allow the activity to be reused instead of recreated
    • The activity also needs to have launchMode="singleTop" in the AndroidManifest.xml

API 35 Compatibility

  • Updated codebase for compatibility with Android API 35.

Dependencies upgrades

  • datadogLogs 2.8.02.18.0
  • firebaseBom 33.1.233.9.0
  • glideOkHttp 4.11.04.16.0
  • gson 2.11.02.12.1
  • kotlinCoroutinesCore 1.8.01.10.1
  • lifecycleProcess 2.8.32.8.7
  • Gradle 8.5.18.8.1
  • Gradle Wrapper 8.78.10.2