Android SDK 5.5.0
7 months 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 thedialog
module.
default_configuration.json
- Replace uses of any
.apnl.ws
with.apnl-cloud.com
- Remove components
ad
,poll
,location
,crash
,note
andlog
, andparameters
object - 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
onResume
instead of created when none exist and deleted inonStop
Dependencies upgrades
com.google.firebase:firebase-bom
32.1.0
->32.8.0
com.google.firebase:firebase-analytics
removedcom.google.firebase:firebase-common-ktx:20.3.2
,com.google.firebase:firebase-messaging-ktx:23.1.2
andcom.google.firebase:firebase-crashlytics-ktx:18.3.7
now use the bom instead of a specific version, and also now use the recommended non-ktx version (which now includes the-ktx
content).
Essentiallycom.google.firebase:firebase-common-ktx:20.3.2
becomescom.google.firebase:firebase-common
com.jakewharton.timber:timber
4.7.1
->5.0.1
com.datadoghq:dd-sdk-android:1.13.0
->com.datadoghq:dd-sdk-android-logs:2.8.0