Android SDK 5.6.0
6 months ago by Théo Cauffour
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 = falsePush 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 Flagsused 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 theAndroidManifest.xml
- The
Android Auto Backup
API 35 Compatibility
- Updated codebase for compatibility with Android API 35.
Dependencies upgrades
datadogLogs2.8.0→2.18.0firebaseBom33.1.2→33.9.0glideOkHttp4.11.0→4.16.0gson2.11.0→2.12.1kotlinCoroutinesCore1.8.0→1.10.1lifecycleProcess2.8.3→2.8.7- Gradle
8.5.1→8.8.1 - Gradle Wrapper
8.7→8.10.2