On 27 November 2026 PostHog shipped coordinated major releases of its mobile SDKs: Android 4.0, iOS 4.0 (with Swift Package Manager support), Flutter 6.0 and Kotlin Multiplatform 0.12 and 1.0. The changelog lists Capture v1, per-event controls, AI capture and updated feature flag APIs.
A major version bump on the SDK that sends every event is risky. If something changes quietly, your funnels, retention curves and experiment results shift, and it looks like user behaviour rather than an upgrade side effect.
Why This Metric Matters
Mobile apps ship slowly and users update slowly. After you release, two or more SDK versions will send events side by side for weeks. If the versions behave differently, you cannot compare one cohort with another.
Without version-level tracking you cannot tell a real drop in sign-ups from an SDK that stopped sending a property.
Data Points to Track
Compare the old and new SDK on the same app build:
$liband$lib_versionon every event, so you can split by SDK versionapp_versionandapp_buildof the host appevents_per_sessionfor each SDK versionevent_delivery_rate: events sent by the app divided by events receivedbatch_failure_countandretry_countper dayper_event_optionused, if you start using the new per-event controlsfeature_flag_calledcount andflag_valueper flagflag_evaluation_errorcount after the flag API changescrash_free_sessionsfor the build that contains the upgrade
Setup Steps
- Read the release notes and migration guide for each platform you ship, and list the breaking changes.
- Upgrade in a debug build first. Fire a fixed script of events: app open, sign-up, purchase and one flag check.
- Compare what the app sent with what PostHog received. The counts must match.
- Release the upgraded build to a small share of users, such as 5 percent, using staged rollout in the app store.
- Build one dashboard that splits key events by
$lib_versionandapp_version. - Check feature flag results against the previous version for the same users. Any change in flag values needs an explanation.
- If you adopt per-event options, change one event first and confirm it behaves as documented before using it widely.
- Widen the rollout only when delivery rate and crash-free sessions stay level for 48 hours.
Actionable Insights
Events per session fall on the new version. Something is not sending. Check which event names disappeared first.
Flag values differ between versions. The updated flag API may evaluate differently, or your code reads the result in a new way. Fix this before an experiment reads the data.
Delivery rate is lower than the old version. Look at batch failures and retries before you blame user behaviour.
Everything matches. Roll out fully and note the upgrade date on your charts, so a later step change is easy to explain.
Common Mistakes to Avoid
Do not upgrade the SDK and ship a feature in the same release. You will not know which one moved the metrics. Do not upgrade Flutter and its native layers at different times without checking the combined behaviour. And remember that old app versions keep sending on the old SDK, so keep both versions in your dashboards.