snowplow / snowplow-android-tracker

Snowplow event tracker for Android. Add analytics to your Android apps and games
http://snowplowanalytics.com
Apache License 2.0
110 stars 63 forks source link

Add version to default remote configuration and don't update unless remote configuration is newer (close #603) #604

Closed matus-tomlein closed 1 year ago

matus-tomlein commented 1 year ago

Issue #603

Adds an option to specify the configuration version for default configuration in remote config. This version is then used to compare the default to the fetched configuration and only update it in case the fetched one has a newer version.

The benefit is that the default tracker is not recreated from the fetched configuration if it is the same. This also means that the session is not reset which used to happen when replacing the default configuration previously.