Android SDK 5.6.0
about 2 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 = 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 theAndroidManifest.xml
- The
API 35 Compatibility
- Updated codebase for compatibility with Android API 35.
Dependencies upgrades
datadogLogs
2.8.0
→2.18.0
firebaseBom
33.1.2
→33.9.0
glideOkHttp
4.11.0
→4.16.0
gson
2.11.0
→2.12.1
kotlinCoroutinesCore
1.8.0
→1.10.1
lifecycleProcess
2.8.3
→2.8.7
- Gradle
8.5.1
→8.8.1
- Gradle Wrapper
8.7
→8.10.2