Remote configuration decides what your analytics SDK does: which events it sends, how often, and to where. If a fetch fails on a weak mobile connection, the app can run on defaults and nobody notices. Data then arrives in the wrong shape, or not at all, for the users with the worst networks.
Amplitude Kotlin 1.37.0 targets this. It persists standalone remote config and retries fetches, preserves an explicit JSON null in remote config, keeps identity properties during interrupted saves, and avoids disk reads during Android initialisation. Each change is small. Together they alter how reliable your data is on first launch and after a crash.
You should not take that on trust. Measure it.
Data Points to Track
config_fetch_attemptsper sessionconfig_fetch_successandconfig_fetch_failurecountsconfig_source: network, stored copy or defaultconfig_age_hourswhen the stored copy was usedconfig_fetch_latency_msidentity_property_losscount after force-stopssdk_init_time_mson Android, before and after the upgradeamplitude_kotlin_versionandapp_versionnetwork_typeanddevice_modelevents_sent_per_sessionby config source
Setup Steps
- Record a baseline for init time, fetch failures and lost identity properties on your current version.
- Upgrade to 1.37.0 in a staging build.
- Log the config source each time the SDK starts, using a custom property on your first event.
- Test offline. Launch once online, switch to airplane mode, force-stop the app and launch again. Confirm the stored config is used.
- Test interruption. Kill the app mid-session and check that user properties survive.
- Compare init time on low-end devices against your baseline.
- Release to a small share of users and watch the config source split for three days.
Actionable Insights
A high share of sessions running on default config means fetches are failing. Break that down by network type. If it clusters on mobile data, the retry change should help, and you should see the share fall after release.
Check config age. A stored copy that is days old is better than defaults, but if it is weeks old, your remote changes are not reaching a part of your audience. Decide how old is too old and alert on it.
Identity loss is the quiet one. If user properties used to vanish after a crash, segments built on them undercounted certain users. Expect some cohorts to grow slightly after the upgrade, and annotate your charts so the change is not mistaken for real growth.
Last, check init time. Fewer disk reads should lower it, especially on older phones. If it rises instead, look at what your own code does at start-up.
Common Mistakes to Avoid
Do not treat a successful upgrade as proof the problem is gone. Test on the slowest device and the worst network your users have, not on a fast office connection. Retry logic only shows its value when the first attempt fails.
Avoid changing several analytics settings in the same release. If you alter sampling, event names and the SDK version together, you cannot tell which change moved your numbers. Upgrade the SDK on its own, then adjust remote settings a week later.
Lastly, write down the release date in your analytics notes. Identity handling fixes can shift cohort sizes, and a dated note saves your team from chasing a trend that is really a measurement change.