Android SDK 5.5.0
over 1 year ago by Matteo Melis
Duration KPIs
-
Add "duration KPIs", a way to record time spent between two points in time, usually time spent on a screen.
APStatsManager.startDurationKpi()andAPStatsManager.endDurationKpi()fun startDurationKpi(tag: String, context: Map<String, Any>? = null) fun endDurationKpi(tag: String) -
Documentation : https://appspanel.readme.io/docs/android-duration-kpi
Version module
- Add a dialog shown to the user if the app version is older than the one configured in the backoffice.
This was previously usually done with thedialogmodule.
default_configuration.json
- Replace uses of any
.apnl.wswith.apnl-cloud.com - Remove components
ad,poll,location,crash,noteandlog, andparametersobject - Add component
rating - Replace/update component
feedback
Fix
- Add missing
app_id(package name) field inPOST /sdk/devices - Remove custom vibration pattern from default push notification channel
- Session IDs are now created in each
onResumeinstead of created when none exist and deleted inonStop
Dependencies upgrades
com.google.firebase:firebase-bom32.1.0->32.8.0com.google.firebase:firebase-analyticsremovedcom.google.firebase:firebase-common-ktx:20.3.2,com.google.firebase:firebase-messaging-ktx:23.1.2andcom.google.firebase:firebase-crashlytics-ktx:18.3.7now use the bom instead of a specific version, and also now use the recommended non-ktx version (which now includes the-ktxcontent).
Essentiallycom.google.firebase:firebase-common-ktx:20.3.2becomescom.google.firebase:firebase-commoncom.jakewharton.timber:timber4.7.1->5.0.1com.datadoghq:dd-sdk-android:1.13.0->com.datadoghq:dd-sdk-android-logs:2.8.0