Releases: metarouterio/android-sdk
v1.2.1
v1.2.0
v1.2.0-beta.4
Pre-release. Not yet recommended for production. To try it out, pin to this exact version in Gradle:
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.4")
Fixes since v1.2.0-beta.3
- Stop overflow drain thrashing on failing flushes —
onFlushCompletenow only fires when the main flush actually received a 2xx response. Previously it fired on every flush attempt that wasn't offline-paused, including ones that failed with 5xx, network errors, or an open circuit breaker — which re-triggered the disk-overflow drain against the same failing endpoint and caused repeated"Queue snapshot written to disk (N events)"read/delete/write cycles with no progress. The drain still resumes automatically on the next successful flush or offline→online transition.
Install
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.4")Feedback
File issues at https://github.com/metarouterio/android-sdk/issues with the beta label.
v1.2.0-beta.3
Pre-release. Not yet recommended for production. To try it out, pin to this exact version in Gradle:
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.3")
Fixes since v1.2.0-beta.2
- Quieter retry loop — during a retry backoff, the periodic flush loop and
offer()auto-flush no longer re-enter the circuit breaker check. Previously, each tick would log a redundant"Circuit breaker open, retrying in Xms"line and cancel/relaunch the retry job against the same absolute fire time. Retry timing was always correct, but logs (and job churn) made it look like multiple retries were firing.flush()is now a no-op while a retry is armed — the armed retry is the next attempt.
Install
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.3")Feedback
File issues at https://github.com/metarouterio/android-sdk/issues with the beta label.
v1.2.0-beta.2
Pre-release. Not yet recommended for production. To try it out, pin to this exact version in Gradle:
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.2")
Fixes since v1.2.0-beta.1
- Reliable WiFi offline transitions —
AndroidNetworkMonitor.onLostno longer relies on re-queryingConnectivityManager.activeNetwork, which could be briefly stale during WiFi teardown and caused online→offline transitions to be missed intermittently on WiFi-only devices. Offline is now determined by comparing the lostNetworkagainst the active one (a different active network still indicates a handoff, e.g. WiFi → cellular).
Install
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.2")Feedback
File issues at https://github.com/metarouterio/android-sdk/issues with the beta label.
v1.2.0-beta.1
Pre-release. Not yet recommended for production. To try it out, pin to this exact version in Gradle:
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.1")
Features since v1.1.0
- Network-aware flush — queued events flush when connectivity is restored (#18, #22)
- Offline disk overflow — events persist to disk when the in-memory queue is full, drain on reconnect (#22)
- Debounce timing — batching timer now debounces based on last enqueue, reducing unnecessary flushes (#21)
getAnonymousID()— public API to read the current anonymous ID (#23)- Validation on
maxOfflineDiskEvents = 0—0now means in-memory-only ring buffer (matches iOS); negatives rejected (#24)
Install
implementation("com.github.metarouterio:android-sdk:1.2.0-beta.1")Feedback
File issues at https://github.com/metarouterio/android-sdk/issues with the beta label.
v1.1.0
v1.0.2
v1.0.1
v1.0.0
What's Changed
- feat: sdk foundation by @choudlet in #1
- feat: adding github workflows by @choudlet in #2
- feat: identity management support by @choudlet in #3
- feat: adding in device context provider by @choudlet in #4
- feat: Event Enrichment and Queueing, MetaRouterAnalyticsClient base class by @choudlet in #5
- feat: Networking and Circuit Breaker Logic by @choudlet in #6
- feat: dispatcher with tests by @choudlet in #7
- feat: analytics proxy and handling pending calls before initialization by @choudlet in #8
- feat: lifecycle observer by @choudlet in #9
- feat: adding GAID support by @choudlet in #10
- fix: bugfix and readme updates by @choudlet in #11
- adding in jitpack configuration by @choudlet in #12
New Contributors
Full Changelog: https://github.com/metarouterio/android-sdk/commits/v1.0.0