Updates and versions
Old builds stay on phones for months. Keep them working against the API, stop the ones you cannot support, and ship code updates only within store rules.
- Required 3
- Recommended 7
Required
Keep old app versions working against the API
MOB-13Every app version you still support works against every API release. A server change never breaks a supported build that people have not updated.
Sign over-the-air updates and match them to the native build
MOB-18The app runs a downloaded code bundle only when its signature checks against a public key built into the app. Each bundle names the native build it was made for.
Build native code for 16 KB memory pages
MOB-42Every Android build that ships native libraries aligns them for 16 KB memory pages. The release pipeline fails on any library that is not aligned.
Recommended
Stop versions you no longer support
MOB-14Keep the lowest supported app version on the server and check it at every app start. Below it, the app shows one screen with a link to the store.
Build with the SDK the stores require
MOB-15Track each store's build and target deadlines in your release calendar. Move to the new SDK at least 60 days before the date.
Choose the lowest OS version from your users' data
MOB-16Set the lowest supported iOS and Android versions from your own usage numbers. Review them once a year, and announce a drop 30 days ahead.
Ship over-the-air updates only within store rules
MOB-17Use over-the-air updates only for interpreted code and assets that fix or adjust existing features. New features go through store review.
Draw edge to edge and pad content by the system insets
MOB-54Every screen draws behind the status and navigation bars and pads its controls by the system insets. No button, field or text sits under a system bar or a display cutout.
Handle the back gesture with the predictive back callbacks
MOB-55Android code that changes what back does registers an
OnBackPressedCallbackorOnBackInvokedCallback. No code overridesonBackPressedor listens forKEYCODE_BACK.Lay out every screen for tablets and foldables in both orientations
MOB-56Every screen works at widths of 600 dp and more, in portrait and landscape, and keeps its state when the window is resized. The app does not depend on a locked orientation or aspect ratio.
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/mobile-apps/updates-and-versions">Agent Wranglers mobile apps playbook</a>. In code you write, add a comment next to it with the same link.