Is offline tracking of Analytics Events supported?
The native collectors (Android, iOS) support tracking of Analytics Events when the device is not connected to the internet. The collected data will be sent with the next Analytics Events when the device is online again.
This is an opt-in feature that was introduced with v2.18.0 on Android and v2.10.0 on iOS.
It can be activated through the setting retryPolicy = RetryPolicy.LONG_TERM
in Android and retryPolicy = RetryPolicy.longTerm
in iOS in the AnalyticsConfig
.
The data is stored persistently until it is sent out.
Limitations and nuances of the feature
- Data is only stored for 14 days.
- A maximum of 500 samples are stored per playback session (impression).
- A maximum of 5000 samples are stored in total.
- When querying the API, the data is shown at the time when it was sent to the Bitmovin server.
- ErrorDetails like StackTrace or NetworkExplorer are currently not supported.
- When the config is disabled, already stored elements will still be sent out.
Updated 12 months ago