Halodoc's engineering team shares their experience migrating Android apps to API level 36 (Android 16). The post covers all major breaking changes: mandatory edge-to-edge rendering (no opt-out), predictive back navigation replacing onBackPressed(), adaptive layout enforcement on large screens (≥600dp), foreground service compliance, 16 KB page size support, stricter intent security, and auto-permission revocation. For each change, the team details their adoption approach, testing strategy, and pitfalls to avoid. The migration required upgrading the full build toolchain (AGP 8.11, Gradle 8.13, Kotlin 2.2, JDK 17) and was rolled out in phases from 1% to 100% of production users with continuous monitoring of crash rates and vitals.

11m read timeFrom blogs.halodoc.io
Post cover image
Table of contents
What's New in Android 16 and Why It MattersUpdating to Android 16Edge-to-Edge EnforcementPredictive Back NavigationLarge Screen Adaptive LayoutsForeground Service Compliance16 KB Page Size CompatibilityIntent Redirection ProtectionsPermission Revocation for Unused AppsRollout Strategy: Phased MigrationConclusionReferencesJoin UsAbout Halodoc

Sort: