Skip to content

Releases: metarouterio/android-sdk

v1.2.1

20 Apr 23:14
943b006

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

17 Apr 22:06
c39f75d

Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

v1.2.0-beta.4

17 Apr 21:38
b98abce

Choose a tag to compare

v1.2.0-beta.4 Pre-release
Pre-release

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 flushesonFlushComplete now 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

17 Apr 19:31
b1abe32

Choose a tag to compare

v1.2.0-beta.3 Pre-release
Pre-release

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

17 Apr 15:35
27a182a

Choose a tag to compare

v1.2.0-beta.2 Pre-release
Pre-release

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 transitionsAndroidNetworkMonitor.onLost no longer relies on re-querying ConnectivityManager.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 lost Network against 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

17 Apr 01:22
dda1326

Choose a tag to compare

v1.2.0-beta.1 Pre-release
Pre-release

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 = 00 now 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

08 Apr 02:17

Choose a tag to compare

What's Changed

Full Changelog: v1.0.2...v1.1.0

v1.0.2

03 Feb 23:03

Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

02 Feb 18:21

Choose a tag to compare

What's Changed

  • fix: misc. bugfixes (max batch size, channel sizing, remove logs) by @choudlet in #13
  • release: 1.0.1 by @choudlet in #14

Full Changelog: v1.0.0...v1.0.1

v1.0.0

27 Jan 21:45

Choose a tag to compare

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