{"playbook":"Mobile apps","url":"https://agentwranglers.se/playbook/mobile-apps","updated":"2026-10-27","license":"https://creativecommons.org/licenses/by/4.0/","credit":"Required by the licence: credit Agent Wranglers with a link to the rule or playbook you used.","ids":"Each rule has an id, such as PAY-14, that never changes. Open a rule by its id at /r/PAY-14. Its revision changes whenever its content changes.","how":"Each rule's How and Measured text is on its own page: add .md to its url.","rules":[{"id":"MOB-1","revision":"204bb56cda83","updated":"2026-10-22","name":"Give reviewers a working demo account","level":"Recommended","rule":"Every submission behind a sign-in carries a demo account, or a full demo mode, in the review notes. The backend it talks to is live during review.","check":"A script signs in with the review account against production before each submission and opens three gated screens. It fails the release when sign-in fails.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/demo-account","related":["/playbook/engineering/running-in-production/secrets-store","/playbook/data/personal-data/retention-jobs"],"sources":["https://developer.apple.com/app-store/review/guidelines/#app-completeness"]},{"id":"MOB-2","revision":"44ee0878b6b8","updated":"2026-10-22","name":"Describe every change in the review notes","level":"Recommended","rule":"List each new feature and changed flow in the review notes, with the steps to reach it. Ship no hidden or dormant features.","check":"The review notes for the last 3 releases each name every user-facing change in that release's changelog. No feature flag on in production was off for the review account.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/review-notes","related":["/playbook/engineering/build-test-and-deploy/version-every-release","/playbook/accessibility/native-apps/store-accessibility-labels"],"sources":["https://developer.apple.com/app-store/review/guidelines/#accurate-metadata","https://developer.apple.com/app-store/review/guidelines/#software-requirements"]},{"id":"MOB-3","revision":"8ef5de5089f0","updated":"2026-10-22","name":"Let people delete their account inside the app","level":"Required","risk":"law","applies":["accounts"],"rule":"An app that lets people create an account also lets them start deleting it inside the app. Publish a web page for the same request, as Google Play asks for one.","check":"On a test device, create an account, find deletion in settings within 3 taps and complete it. The server marks the account for deletion, and the web deletion page answers 200 without signing in to the app.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/in-app-account-deletion","related":["/playbook/accounts/profile-and-account-lifecycle/account-deletion"],"sources":["https://developer.apple.com/support/offering-account-deletion-in-your-app/","https://developer.apple.com/app-store/review/guidelines/#data-collection-and-storage","https://support.google.com/googleplay/android-developer/answer/13327111"]},{"id":"MOB-4","revision":"fa6a5934bcae","updated":"2026-10-27","name":"Sell digital goods through the store's billing","level":"Required","risk":"money","applies":["payments"],"rule":"Unlock digital features and content in the app through the store's in-app purchase, unless a store program for that storefront allows another way. Physical goods and services used outside the app use your own checkout.","check":"Search the app for links and buttons to your own checkout. Each one sells a physical good or service, or sits behind a store program that is on for that country.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/store-billing","related":["/playbook/payments/subscriptions/store-and-web-subscriptions","/playbook/payments/card-security-and-sca/pci-saq-a-integration","/playbook/mobile-apps/store-review-and-listing/storefront-payment-programs","/playbook/pricing/entitlements/entitlements-from-status"],"sources":["https://developer.apple.com/app-store/review/guidelines/#payments"]},{"id":"MOB-48","revision":"f61c09b32c22","updated":"2026-10-27","name":"Link to outside payments only under each storefront's program","level":"Recommended","applies":["payments"],"region":["US","EU","JP","KR"],"review_by":"2027-04-30","rule":"Show a link or button to your own checkout for digital goods only in storefronts whose store rules allow it. Record for each storefront the program you use and the date you joined it.","check":"A table in the repository lists each storefront where the app links out, with the program name and the date joined. A test build set to a storefront outside the table shows no link to outside checkout.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/storefront-payment-programs","related":["/playbook/mobile-apps/store-review-and-listing/store-billing"],"sources":["https://developer.apple.com/app-store/review/guidelines/#in-app-purchase","https://developer.apple.com/support/app-distribution-in-japan/","https://developer.android.com/google/play/billing/externalcontentlinks"]},{"id":"MOB-5","revision":"84ee4199e457","updated":"2026-10-27","name":"Verify every store purchase on your server","level":"Required","risk":"money","applies":["payments"],"rule":"Grant paid access only after your server has checked the purchase with the store's server API. Keep it current from the store's server notifications.","check":"Send the server a made-up transaction ID and a made-up purchase token. Both are refused and grant nothing. A refund in the sandbox removes access within 1 hour.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/verify-store-purchases","related":["/playbook/payments/subscriptions/store-and-web-subscriptions","/playbook/events/consuming-events/idempotent-consumers","/playbook/pricing/entitlements/entitlements-from-status","/playbook/mobile-apps/store-review-and-listing/restore-and-acknowledge-purchases"],"sources":["https://developer.apple.com/documentation/appstoreserverapi","https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/get"]},{"id":"MOB-37","revision":"104bfcd3b4ea","updated":"2026-10-22","name":"Restore and acknowledge every store purchase","level":"Required","risk":"money","applies":["payments"],"rule":"Give every app that sells subscriptions or permanent unlocks a Restore Purchases button. Acknowledge each Google Play purchase within three days of it becoming paid.","check":"On a fresh install, signed in to the store sandbox with an active test subscription, Restore Purchases gives access within 30 seconds. A server query lists no Google Play purchase older than 48 hours whose `acknowledgementState` is still pending.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/restore-and-acknowledge-purchases","related":["/playbook/payments/subscriptions/store-and-web-subscriptions","/playbook/mobile-apps/store-review-and-listing/verify-store-purchases"],"sources":["https://developer.apple.com/app-store/review/guidelines/#in-app-purchase","https://developer.android.com/google/play/billing/integrate"]},{"id":"MOB-6","revision":"59c196bf42e3","updated":"2026-10-22","name":"Offer a private sign-in next to social sign-in","level":"Recommended","applies":["accounts"],"rule":"An iOS app with a third-party login, such as Google, also offers a login that shares only name and email. That login lets people hide their email.","check":"On the iOS sign-in screen, every third-party login sits beside an option that meets guideline 4.8. A test sign-up with a hidden email receives the welcome email.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/private-sign-in-option","related":["/playbook/accounts/sign-in-methods/link-provider-login","/playbook/accounts/sign-in-methods/provider-sign-in"],"sources":["https://developer.apple.com/app-store/review/guidelines/#login-services"]},{"id":"MOB-36","revision":"78dfe2ec9781","updated":"2026-10-27","name":"Use the store's age signals where state law requires them","level":"Required","risk":"law","region":["US-TX","US-UT","US-LA","US-CA"],"review_by":"2027-01-01","rule":"In US states with app store age laws, read each user's age range from the store's age API. Get the store's parental approval before a significant change reaches a minor.","check":"In the store sandbox, a test account set as a minor in Texas gets the minor settings on first launch. A release marked significant stays locked for that account until the sandbox parent approves. A `RESCIND_CONSENT` test notification ends that account's sessions within 1 minute.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/store-age-signals","related":["/playbook/compliance/online-platforms/protect-minors","/playbook/mobile-apps/store-review-and-listing/age-rating-questionnaire"],"sources":["https://developer.apple.com/news/?id=f5zj08ey","https://developer.apple.com/support/age-assurance/","https://support.google.com/googleplay/android-developer/answer/16569691"]},{"id":"MOB-40","revision":"f014f10e0d56","updated":"2026-10-22","name":"Declare your EU trader status in each store","level":"Required","risk":"law","applies":["eu-users"],"rule":"Before an app goes live in the EU, decide whether you act as a trader and declare it in each store. A trader gives an address, phone number and email that the store verifies and shows.","check":"The store console shows a verified trader status for the account. The product page in one EU storefront shows the address, phone number and email, and the email reaches a shared mailbox.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/eu-trader-status","related":["/playbook/compliance/online-platforms/trader-traceability"],"sources":["https://developer.apple.com/help/app-store-connect/manage-compliance-information/manage-european-union-digital-services-act-trader-requirements/","https://developer.apple.com/news/upcoming-requirements/?id=02172025a"]},{"id":"MOB-49","revision":"c245b14624ab","updated":"2026-10-27","name":"Weigh alternative app marketplaces and web distribution","level":"Optional","region":["EU","JP"],"review_by":"2027-04-30","rule":"Decide in writing whether the iOS app also ships outside the App Store in the EU or Japan. Every build sent that way passes Apple's notarization first.","check":"The release document lists each channel the app ships through. For each build on a channel outside the App Store, App Store Connect shows a passed notarization before the build is offered.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/alternative-distribution","related":["/playbook/mobile-apps/signing-and-release/android-developer-verification"],"sources":["https://developer.apple.com/support/dma-and-apps-in-the-eu/","https://developer.apple.com/support/app-distribution-in-japan/"]},{"id":"MOB-50","revision":"a191d1f1d191","updated":"2026-10-27","name":"Answer the store age rating questions again when features change","level":"Recommended","review_by":"2027-04-30","rule":"Answer the age rating questions in App Store Connect and the content rating questions in the Play Console for every app. Answer them again in the release that adds chat, posts by users, a social feed, loot boxes or web access.","check":"A release script compares the feature list with the stored answers. It fails when a listed feature, such as chat or a social feed, has no matching yes in both questionnaires.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/store-review-and-listing/age-rating-questionnaire","related":["/playbook/mobile-apps/store-review-and-listing/store-age-signals"],"sources":["https://developer.apple.com/app-store/review/guidelines/#accurate-metadata","https://developer.apple.com/news/?id=tlur8uvi","https://support.google.com/googleplay/android-developer/answer/9898843"]},{"id":"MOB-7","revision":"1a05f2b5470c","updated":"2026-10-22","name":"Let the store hold the signing key and back up the upload key","level":"Required","risk":"outage","rule":"Use Play App Signing so Google holds the Android app signing key. Keep the upload key and its passwords in a secrets store with a second copy offline.","check":"Play Console shows Play App Signing on for every Android app. Once a year, a person restores the upload keystore from the offline copy and signs a test build that Play Console accepts.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/signing-keys","related":["/playbook/infrastructure/identity-and-access/break-glass-access","/playbook/engineering/running-in-production/secrets-store","/playbook/mobile-apps/signing-and-release/android-developer-verification"],"sources":["https://developer.android.com/studio/publish/app-signing"]},{"id":"MOB-8","revision":"a4d43fcd2e68","updated":"2026-10-27","name":"Sign release builds only in CI","level":"Recommended","rule":"Build and sign every store upload in CI, with keys read from the secrets store at build time. No developer laptop signs a release.","check":"A secret scanner finds no keystore, `.p12` or `.mobileprovision` file in the repository history. The last 10 store uploads each link to a CI run.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/sign-in-ci","related":["/playbook/engineering/ci-and-supply-chain/build-in-ci-and-verify","/playbook/application-security/supply-chain/ci-secrets","/playbook/desktop-apps/signing-and-notarisation/mac-notarisation"],"sources":["https://developer.android.com/studio/publish/app-signing#secure-shared-keystore"]},{"id":"MOB-9","revision":"2ea5ccc2e55b","updated":"2026-10-22","name":"Raise the build number on every upload","level":"Recommended","rule":"Give every store upload a build number higher than the last one, taken from CI. Keep the version people see separate from the build number.","check":"CI fails when the new build number is not higher than the last one in each store. The about screen shows both the version and the build number.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/build-numbers","related":["/playbook/engineering/build-test-and-deploy/version-every-release","/playbook/mobile-apps/crashes-and-quality/crash-symbols"],"sources":["https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleversion","https://developer.android.com/studio/publish/versioning"]},{"id":"MOB-10","revision":"2d2c0dde61d0","updated":"2026-10-22","name":"Test every build with internal testers first","level":"Recommended","rule":"Send every release candidate to an internal test group through TestFlight and the Play internal testing track before you submit it for review.","check":"Every production release in the last 90 days was on an internal track first. A tester signed off its test script before submission.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/internal-testing","related":["/playbook/ai-assisted-development/reviewing-agent-output/human-sign-off"],"sources":["https://developer.apple.com/testflight/","https://developers.google.com/android-publisher/tracks","https://support.google.com/googleplay/android-developer/answer/14151465"]},{"id":"MOB-11","revision":"8dd44cfaeed1","updated":"2026-10-22","name":"Roll out store updates to a share of users first","level":"Recommended","rule":"Release every update with Apple's phased release and a Google Play staged rollout. Stop the rollout when crash or error rates rise.","check":"Every production release in the last 90 days started below 100% of users on both stores. A script can halt the Play rollout and is tried once a quarter on an internal app.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/phased-release","related":["/playbook/engineering/build-test-and-deploy/staged-rollouts","/playbook/mobile-apps/crashes-and-quality/vitals-thresholds"],"sources":["https://developer.apple.com/help/app-store-connect/update-your-app/release-a-version-update-in-phases/","https://developers.google.com/android-publisher/tracks"]},{"id":"MOB-12","revision":"2e7af0a116ac","updated":"2026-10-27","name":"Plan to fix forward","level":"Recommended","rule":"Keep a fix path that does not need a store rollback, because installed builds stay on phones. Every risky feature ships behind a flag the server can turn off.","check":"Each feature added in the last 3 releases has a flag the server can turn off. A test turns one off on a test device and the feature is gone after the next app start.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/fix-forward","related":["/playbook/app-ui/resilience/feature-flags-in-ui","/playbook/desktop-apps/update-integrity/no-downgrades","/playbook/connected-devices/firmware-updates/ab-rollback"],"sources":["https://developers.google.com/android-publisher/tracks"]},{"id":"MOB-41","revision":"1fe65d29e1cf","updated":"2026-10-27","name":"Register every Android app for developer verification","level":"Required","risk":"outage","region":["BR","ID","SG","TH"],"review_by":"2027-03-31","rule":"Verify your identity with Google and register every Android package name with its signing key, including apps sold outside Google Play. Finish before the date it applies in your users' countries.","check":"Before each release, the console lists every package name the team ships, each as registered with the signing key of the release build. The check fails on any package missing from the list.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/signing-and-release/android-developer-verification","related":["/playbook/mobile-apps/store-review-and-listing/alternative-distribution","/playbook/mobile-apps/signing-and-release/signing-keys"],"sources":["https://developer.android.com/developer-verification","https://developer.android.com/developer-verification/guides/faq"]},{"id":"MOB-13","revision":"5e20f352736d","updated":"2026-10-22","name":"Keep old app versions working against the API","level":"Required","risk":"outage","rule":"Every app version you still support works against every API release. A server change never breaks a supported build that people have not updated.","check":"CI runs the contract tests of the oldest supported app version against every API change, and a failure blocks the deploy. Logs show every API request carries the app version header.","check_type":"http","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/old-versions-keep-working","related":["/playbook/api-design/graphql-and-grpc/graphql-trusted-documents","/playbook/api-design/changes-over-time/versioning","/playbook/mobile-apps/updates-and-versions/minimum-version","/playbook/mobile-apps/updates-and-versions/minimum-os-version"],"sources":["https://google.aip.dev/180"]},{"id":"MOB-14","revision":"457ec417a6ca","updated":"2026-10-22","name":"Stop versions you no longer support","level":"Recommended","rule":"Keep 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.","check":"Set the minimum on a test server above the installed build. The app shows the update screen at the next start and makes no other API calls. A build above the minimum starts normally.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/minimum-version","related":["/playbook/mobile-apps/updates-and-versions/old-versions-keep-working","/playbook/api-design/changes-over-time/deprecation-headers"],"sources":["https://developer.android.com/guide/playcore/in-app-updates"]},{"id":"MOB-15","revision":"a84b60320d52","updated":"2026-10-27","name":"Build with the SDK the stores require","level":"Recommended","spec_version":"Apple requirements of 9 September 2026, Google Play target API policy for 2026","review_by":"2027-04-30","rule":"Track each store's build and target deadlines in your release calendar. Move to the new SDK at least 60 days before the date.","check":"The release calendar lists each store deadline in the next 12 months. Every production build targets the newest API level that Google Play requires and uses the Xcode version Apple requires.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/store-sdk-deadlines","related":["/playbook/stack/how-to-choose/still-maintained","/playbook/mobile-apps/updates-and-versions/android-16kb-pages","/playbook/mobile-apps/updates-and-versions/edge-to-edge-insets","/playbook/mobile-apps/updates-and-versions/predictive-back"],"sources":["https://developer.apple.com/news/upcoming-requirements/","https://support.google.com/googleplay/android-developer/answer/11926878"]},{"id":"MOB-16","revision":"1943a101ffbc","updated":"2026-10-22","name":"Choose the lowest OS version from your users' data","level":"Recommended","rule":"Set the lowest supported iOS and Android versions from your own usage numbers. Review them once a year, and announce a drop 30 days ahead.","check":"The minimum OS versions in the build files match the last yearly review. Each supported OS version is on the test device list.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/minimum-os-version","related":["/playbook/mobile-apps/updates-and-versions/old-versions-keep-working"],"sources":["https://developer.apple.com/news/upcoming-requirements/"]},{"id":"MOB-17","revision":"eea502225a41","updated":"2026-10-22","name":"Ship over-the-air updates only within store rules","level":"Recommended","rule":"Use over-the-air updates only for interpreted code and assets that fix or adjust existing features. New features go through store review.","check":"The last 10 over-the-air updates each changed only JavaScript or assets, and none added a screen. Each reached a share of users first.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/over-the-air-limits","related":["/playbook/engineering/build-test-and-deploy/staged-rollouts"],"sources":["https://developer.apple.com/app-store/review/guidelines/#software-requirements","https://developer.apple.com/support/terms/apple-developer-program-license-agreement/","https://support.google.com/googleplay/android-developer/answer/9888379"]},{"id":"MOB-18","revision":"d1413d957dc5","updated":"2026-10-27","name":"Sign over-the-air updates and match them to the native build","level":"Required","risk":"takeover","rule":"The 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.","check":"Serve a test device a bundle with one changed byte. The app refuses it and starts the previous bundle. A bundle for another runtime version is never downloaded.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/signed-over-the-air-updates","related":["/playbook/stack/mobile-and-desktop-apps/react-native-expo","/playbook/application-security/supply-chain/sbom-and-provenance","/playbook/desktop-apps/update-integrity/signed-updates"],"sources":["https://docs.expo.dev/eas-update/code-signing/","https://docs.expo.dev/eas-update/runtime-versions/"]},{"id":"MOB-42","revision":"068731320822","updated":"2026-10-27","name":"Build native code for 16 KB memory pages","level":"Required","risk":"outage","review_by":"2027-02-01","rule":"Every Android build that ships native libraries aligns them for 16 KB memory pages. The release pipeline fails on any library that is not aligned.","check":"The release job runs `zipalign -c -P 16 -v 4` on the APK and the build fails unless it ends in \"Verification successful\". The app starts on a 16 KB emulator image.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/android-16kb-pages","related":["/playbook/mobile-apps/updates-and-versions/store-sdk-deadlines"],"sources":["https://developer.android.com/guide/practices/page-sizes"]},{"id":"MOB-54","revision":"d351dc9fb0ec","updated":"2026-10-27","name":"Draw edge to edge and pad content by the system insets","level":"Recommended","review_by":"2027-08-31","rule":"Every 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.","check":"The manifest and themes contain no `windowOptOutEdgeToEdgeEnforcement`. Screenshot tests run on an Android 16 emulator in both navigation modes and on an iPhone with a notch. They find no tappable control inside the inset areas.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/edge-to-edge-insets","related":["/playbook/mobile-apps/updates-and-versions/store-sdk-deadlines","/playbook/mobile-apps/updates-and-versions/large-screen-layouts"],"sources":["https://developer.android.com/about/versions/16/behavior-changes-16","https://developer.apple.com/documentation/uikit/positioning-content-relative-to-the-safe-area"]},{"id":"MOB-55","revision":"4972523afb54","updated":"2026-10-27","name":"Handle the back gesture with the predictive back callbacks","level":"Recommended","review_by":"2027-08-31","rule":"Android code that changes what back does registers an `OnBackPressedCallback` or `OnBackInvokedCallback`. No code overrides `onBackPressed` or listens for `KEYCODE_BACK`.","check":"A search of the source finds no `onBackPressed` override and no `KEYCODE_BACK` handler. A UI test on an Android 16 emulator opens a sheet, swipes back and finds the sheet closed with the screen still open.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/predictive-back","related":["/playbook/mobile-apps/updates-and-versions/store-sdk-deadlines"],"sources":["https://developer.android.com/about/versions/16/behavior-changes-16","https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture"]},{"id":"MOB-56","revision":"f1b7b2fc6ce0","updated":"2026-10-27","name":"Lay out every screen for tablets and foldables in both orientations","level":"Recommended","review_by":"2027-08-31","rule":"Every 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.","check":"A UI test runs every screen on a 600 dp wide tablet emulator in both orientations and after a resize. No text is cut off, and a half-filled form keeps its values after the resize.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/updates-and-versions/large-screen-layouts","related":["/playbook/mobile-apps/updates-and-versions/edge-to-edge-insets"],"sources":["https://developer.android.com/about/versions/16/behavior-changes-16","https://developer.android.com/develop/ui/compose/layouts/adaptive/use-window-size-classes"]},{"id":"MOB-19","revision":"7eac25fc44f3","updated":"2026-10-27","name":"Keep tokens and keys in the Keychain or Keystore","level":"Required","risk":"takeover","rule":"Store session tokens, refresh tokens and keys only in the iOS Keychain or behind a key in the Android Keystore. Never in plain preferences, files or JavaScript storage.","check":"Search the code for writes of tokens to `UserDefaults`, `SharedPreferences`, `AsyncStorage` or files. None remain. On a test device backup, no token appears in plain text.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/keychain-keystore","related":["/playbook/app-ui/client-and-server-state/sensitive-data-out-of-browser-storage","/playbook/accounts/sessions-and-security-activity/revoke-sessions","/playbook/desktop-apps/web-code-inside-desktop-apps/desktop-keychain","/playbook/mobile-apps/data-on-the-device/backup-exclusions","/playbook/mobile-apps/data-on-the-device/encrypted-local-data","/playbook/mobile-apps/data-on-the-device/widget-and-watch-data","/playbook/mobile-apps/network-links-and-web-views/system-browser-sign-in"],"sources":["https://mas.owasp.org/MASVS/controls/MASVS-STORAGE-1/","https://developer.apple.com/documentation/security/ksecattraccessiblewhenunlockedthisdeviceonly"]},{"id":"MOB-20","revision":"42738b041efb","updated":"2026-10-27","name":"Ship no secrets in the app package","level":"Required","risk":"money","rule":"The app package holds no secret keys, passwords or private certificates. Anything the app needs that must stay secret lives behind your own server.","check":"In CI, unpack the release IPA and APK and run a secret scanner, such as the one in [use TruffleHog to find leaked secrets](https://agentwranglers.se/playbook/stack/testing-and-code-quality/secret-scanner). It finds 0 secrets.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/no-secrets-in-app","related":["/playbook/application-security/secrets-and-configuration/secrets-out-of-browser","/playbook/stack/testing-and-code-quality/secret-scanner","/playbook/desktop-apps/web-code-inside-desktop-apps/desktop-keychain","/playbook/connected-devices/device-identity/no-secrets-in-firmware"],"sources":["https://mas.owasp.org/MASWE/MASVS-STORAGE/MASWE-0004/"]},{"id":"MOB-21","revision":"554d29a1ec71","updated":"2026-10-27","name":"Check that requests come from your app","level":"Recommended","stack":["firebase"],"rule":"Send an attestation token from App Attest or Play Integrity with calls that cost money or unlock content. The server refuses calls without a valid token.","check":"A call to a protected endpoint from a script, with a valid session but no attestation token, gets 401. The same call from the release app succeeds.","check_type":"http","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/app-attestation","related":["/playbook/accounts/roles-and-permissions/permissions-not-roles"],"sources":["https://developer.apple.com/documentation/devicecheck/establishing-your-app-s-integrity","https://developer.android.com/google/play/integrity/standard","https://firebase.google.com/docs/app-check"]},{"id":"MOB-22","revision":"4d1ac22b0dc5","updated":"2026-10-22","name":"Keep secrets out of device backups","level":"Recommended","rule":"Exclude tokens, keys and caches of personal data from cloud backups and device transfers. Keep what the person made, so a new phone restores it.","check":"Back up a signed-in test device and restore it to a second device. The app on the second device asks for a sign-in, and the person's own drafts are there.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/backup-exclusions","related":["/playbook/mobile-apps/data-on-the-device/keychain-keystore"],"sources":["https://mas.owasp.org/MASWE/MASVS-STORAGE/MASWE-0006/","https://developer.apple.com/documentation/foundation/urlresourcevalues/isexcludedfrombackup","https://developer.android.com/identity/data/autobackup"]},{"id":"MOB-23","revision":"4746186df7e4","updated":"2026-10-27","name":"Keep personal data out of device logs","level":"Required","risk":"data","rule":"Release builds write no tokens, passwords or personal data to the system log or to log files. Debug logging is compiled out of release builds.","check":"Run the release build through sign-in and checkout with the device log open. No token, email address or card digits appear.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/no-personal-data-in-device-logs","related":["/playbook/operations/logs/logs-without-personal-data"],"sources":["https://mas.owasp.org/MASWE/MASVS-STORAGE/MASWE-0005/"]},{"id":"MOB-24","revision":"fd80a2247bcc","updated":"2026-10-22","name":"Encrypt local data that holds personal data","level":"Recommended","rule":"Keep personal data only in the app's private storage, with the platform's file protection on. Encrypt databases of health, money or messages with a key from the Keystore or Keychain.","check":"On a test device, list the files the app wrote outside its private folder. There are none. Each database holding sensitive data fails to open without its key.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/encrypted-local-data","related":["/playbook/mobile-apps/data-on-the-device/keychain-keystore","/playbook/data/personal-data/retention-jobs"],"sources":["https://mas.owasp.org/MASVS/controls/MASVS-STORAGE-1/","https://developer.apple.com/documentation/foundation/fileprotectiontype/complete"]},{"id":"MOB-25","revision":"25c2cd5af588","updated":"2026-10-22","name":"Wipe local data at sign-out","level":"Recommended","applies":["accounts"],"rule":"Signing out removes the person's tokens, local database, caches and files from the phone. The next person to sign in sees none of it.","check":"Sign in as one test user, load data, sign out and sign in as a second user. No screen, search or cache shows the first user's data, and the first user's folder is gone.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/wipe-on-sign-out","related":["/playbook/notifications/push-notifications/unlink-push-on-sign-out","/playbook/mobile-apps/data-on-the-device/widget-and-watch-data"],"sources":["https://mas.owasp.org/MASWE/MASVS-AUTH/MASWE-0024/"]},{"id":"MOB-39","revision":"05ffe3c2743e","updated":"2026-10-22","name":"Give widgets and watch apps only the data they show","level":"Recommended","rule":"Share with widgets, watch apps and other extensions only the fields they display, and never a token. Clear that shared data at sign-out.","check":"After sign-in on a test device, read the App Group container and the widget's stored state. They hold no token and no field outside the widget's list. After sign-out, every widget shows its signed-out view within 1 minute.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/widget-and-watch-data","related":["/playbook/mobile-apps/data-on-the-device/wipe-on-sign-out","/playbook/mobile-apps/data-on-the-device/keychain-keystore","/playbook/mobile-apps/data-on-the-device/hide-private-screens"],"sources":["https://developer.apple.com/documentation/widgetkit/creating-a-widget-extension","https://developer.apple.com/documentation/swiftui/view/privacysensitive%28_%3A%29","https://developer.android.com/develop/ui/views/appwidgets/overview"]},{"id":"MOB-26","revision":"b8597c34b32b","updated":"2026-10-27","name":"Queue offline changes and resolve conflicts on the server","level":"Recommended","rule":"Save changes made offline in a local queue and send them in order when the network returns. Each change carries an idempotency key and the version it was based on.","check":"In airplane mode, make 5 changes, then restore the network and drop the first reply. The server holds each change once. A change to a record edited elsewhere shows a conflict.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/offline-sync","related":["/playbook/app-ui/live-collaboration/local-first-sync","/playbook/api-design/reliability/idempotency-keys","/playbook/app-ui/forms/edit-conflicts","/playbook/app-ui/resilience/offline-behaviour","/playbook/connected-devices/device-to-cloud/offline-buffer"],"sources":["https://developer.android.com/topic/architecture/data-layer/offline-first"]},{"id":"MOB-47","revision":"a3621f111499","updated":"2026-10-22","name":"Hide private screens from screenshots and the app switcher","level":"Recommended","rule":"Screens that show card numbers, one-time codes, health data or secrets are hidden from the app switcher. On Android they also block screenshots and screen sharing.","check":"On a test device, open each private screen, go to the home screen and open the app switcher. The preview shows no private value, and an Android screenshot of the screen comes out blank.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/data-on-the-device/hide-private-screens","related":["/playbook/mobile-apps/data-on-the-device/widget-and-watch-data"],"sources":["https://mas.owasp.org/MASVS/controls/MASVS-PLATFORM-3/","https://developer.android.com/security/fraud-prevention/activities"]},{"id":"MOB-43","revision":"b87761c251a7","updated":"2026-10-27","name":"Sign in through the system browser with PKCE","level":"Required","risk":"takeover","applies":["accounts"],"rule":"Run OAuth and OpenID Connect sign-in in the system browser session, never in a web view inside the app. Every request uses PKCE, and the redirect goes to a claimed https address.","check":"A search of the source finds no sign-in page loaded in `WKWebView` or `android.webkit.WebView`. A token request without `code_verifier` gets an error from the authorization server.","check_type":"http","url":"https://agentwranglers.se/playbook/mobile-apps/network-links-and-web-views/system-browser-sign-in","related":["/playbook/accounts/sign-in-methods/provider-sign-in","/playbook/mobile-apps/network-links-and-web-views/verified-deep-links","/playbook/mobile-apps/data-on-the-device/keychain-keystore"],"sources":["https://www.rfc-editor.org/rfc/rfc8252","https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession"]},{"id":"MOB-44","revision":"018c1e69be49","updated":"2026-10-27","name":"Open deep links only from verified domains","level":"Required","risk":"takeover","rule":"Links that open screens or carry tokens use verified Universal Links and Android App Links on https addresses you own. The app checks every link parameter against an allowlist before acting on it.","check":"`adb shell pm get-app-links` shows `verified` for every app domain, and the iOS association file passes Apple's validator. A test opens a link with an unknown path and one with an outside URL parameter, and both land on the home screen.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/network-links-and-web-views/verified-deep-links","related":["/playbook/website/standard-addresses/app-links","/playbook/mobile-apps/network-links-and-web-views/system-browser-sign-in"],"sources":["https://developer.android.com/privacy-and-security/risks/unsafe-use-of-deeplinks","https://developer.android.com/training/app-links/verify-android-applinks","https://developer.apple.com/documentation/xcode/supporting-associated-domains"]},{"id":"MOB-45","revision":"c16257275f5e","updated":"2026-10-22","name":"Allow no cleartext traffic from the app","level":"Required","risk":"data","rule":"Release builds send every request over TLS and trust only the system certificate authorities. They carry no global App Transport Security exception and no Android cleartext permission.","check":"A script reads the release `Info.plist` and the merged Android manifest and fails on `NSAllowsArbitraryLoads`, `usesCleartextTraffic=\"true\"`, `cleartextTrafficPermitted=\"true\"` or `src=\"user\"` outside `debug-overrides`. A proxy test of the release build sees no plain HTTP request.","check_type":"http","url":"https://agentwranglers.se/playbook/mobile-apps/network-links-and-web-views/no-cleartext-traffic","related":["/playbook/website/hosting-and-network/https-tls"],"sources":["https://mas.owasp.org/MASVS/controls/MASVS-NETWORK-1/","https://developer.apple.com/documentation/security/preventing-insecure-network-connections","https://developer.android.com/privacy-and-security/security-config"]},{"id":"MOB-46","revision":"190687be3e46","updated":"2026-10-27","name":"Keep web views to your own pages","level":"Recommended","rule":"A web view inside the app loads only pages from an allowlist of your own https origins. Bridges from JavaScript to native code are present only while one of those pages is loaded.","check":"A test loads an outside URL in each web view and the page opens in the system browser instead. A test page from an origin outside the allowlist finds no native bridge object.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/network-links-and-web-views/locked-web-views","related":["/playbook/application-security/browser-security-headers/content-security-policy"],"sources":["https://mas.owasp.org/MASVS/controls/MASVS-PLATFORM-2/","https://developer.android.com/privacy-and-security/risks/insecure-webview-native-bridges"]},{"id":"MOB-27","revision":"e4accab52c1d","updated":"2026-10-22","name":"Fill in the store privacy forms from an SDK list","level":"Required","risk":"law","rule":"Answer Apple's App Privacy questions and Google Play's Data safety form from a list of every SDK in the build. Update both forms in the same release that changes what is collected.","check":"Every SDK in the release lock files is on the list. The App Privacy answers and the Data safety form match the list's data types, checked at each release that adds or removes an SDK.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/store-privacy-forms","related":["/playbook/compliance/records-and-data-map/data-map","/playbook/desktop-apps/browser-extensions/extension-data-disclosure"],"sources":["https://developer.apple.com/app-store/app-privacy-details/","https://support.google.com/googleplay/android-developer/answer/10787469"]},{"id":"MOB-28","revision":"e0f0b5c476af","updated":"2026-10-27","name":"Declare required reason APIs in a privacy manifest","level":"Required","risk":"outage","stack":["firebase"],"rule":"Ship a `PrivacyInfo.xcprivacy` file in the iOS app that lists each required reason API the app's own code uses, with an approved reason. Use SDK versions that carry their own manifest.","check":"Xcode's privacy report for the release archive lists a reason for every required reason API category. App Store Connect sends no missing reason email for the last upload.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/privacy-manifest","related":["/playbook/stack/how-to-choose/still-maintained"],"sources":["https://developer.apple.com/documentation/bundleresources/describing-use-of-required-reason-api","https://developer.apple.com/support/third-party-SDK-requirements/"]},{"id":"MOB-29","revision":"23d57eb6f847","updated":"2026-10-27","name":"Ask before any tracking","level":"Required","risk":"law","rule":"Link no data with other companies' data for ads, and read no advertising ID, until the person allows tracking. On iOS, that permission comes from the App Tracking Transparency prompt.","check":"On a fresh install, answer no to the tracking prompt and capture the app's traffic. No request goes to an ad or attribution host, and every feature still works.","check_type":"http","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/tracking-permission","related":["/playbook/analytics/privacy-and-consent/analytics-consent"],"sources":["https://developer.apple.com/app-store/user-privacy-and-data-use/","https://developer.apple.com/documentation/apptrackingtransparency"]},{"id":"MOB-30","revision":"dff604671522","updated":"2026-10-27","name":"Ask for each permission when the feature needs it","level":"Recommended","rule":"Ask for camera, location, contacts and other permissions at the moment a feature needs them, never at first launch. Each iOS purpose string says what the data is used for.","check":"A fresh install shows no permission prompt before the first screen. Each purpose string names the feature, and every feature works or explains itself after a no.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/permission-in-context","related":["/playbook/mobile-apps/privacy-declarations/notification-permission","/playbook/mobile-apps/privacy-declarations/play-restricted-permissions"],"sources":["https://developer.apple.com/app-store/review/guidelines/#data-collection-and-storage","https://developer.apple.com/documentation/bundleresources/information-property-list/nscamerausagedescription"]},{"id":"MOB-51","revision":"b247f9235acf","updated":"2026-10-27","name":"Request the system notification permission before you rely on notifications","level":"Required","risk":"outage","rule":"The app asks for the system notification permission after a clear action and reads the current setting at each start. Important messages also show inside the app. Android builds declare `POST_NOTIFICATIONS`.","check":"On a fresh Android 13 install and a fresh iOS install, no notification prompt shows before the first screen. The prompt shows after the alert control is tapped. After a no, the same message appears in the in-app inbox, and the merged Android manifest lists `POST_NOTIFICATIONS`.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/notification-permission","related":["/playbook/notifications/web-push/push-permission-in-context","/playbook/mobile-apps/privacy-declarations/permission-in-context"],"sources":["https://developer.android.com/develop/ui/views/notifications/notification-permission","https://developer.apple.com/documentation/usernotifications/unauthorizationoptions/provisional"]},{"id":"MOB-52","revision":"37218a616680","updated":"2026-10-27","name":"Declare restricted Android permissions in the Play Console","level":"Required","risk":"outage","rule":"Request broad photo and video access, foreground service types and full-screen intents only when the app's core feature needs them. Fill in the Play Console declaration for each one the app keeps.","check":"A script reads the merged release manifest and lists each restricted permission and foreground service type. The build fails on any entry missing from a checked-in list that names its Play Console declaration.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/play-restricted-permissions","related":["/playbook/mobile-apps/privacy-declarations/permission-in-context","/playbook/mobile-apps/privacy-declarations/exact-alarms"],"sources":["https://support.google.com/googleplay/android-developer/answer/14115180","https://support.google.com/googleplay/android-developer/answer/13392821","https://developer.android.com/training/data-storage/shared/photopicker"]},{"id":"MOB-53","revision":"cc21fa3706a2","updated":"2026-10-27","name":"Schedule exact alarms only after checking the permission","level":"Recommended","rule":"Use exact alarms only for a feature people see that needs a precise time, such as a reminder they set. Call `canScheduleExactAlarms()` before each exact alarm and fall back to an inexact one.","check":"A search of the release manifest finds `USE_EXACT_ALARM` only in an alarm, timer or calendar app. A test with the permission revoked sets a reminder without a crash and schedules an inexact alarm.","check_type":"static","url":"https://agentwranglers.se/playbook/mobile-apps/privacy-declarations/exact-alarms","related":["/playbook/mobile-apps/privacy-declarations/play-restricted-permissions"],"sources":["https://developer.android.com/about/versions/14/changes/schedule-exact-alarms","https://developer.android.com/develop/background-work/services/alarms/schedule"]},{"id":"MOB-31","revision":"fadeaef11888","updated":"2026-10-22","name":"Upload symbols for every build","level":"Recommended","rule":"Report crashes from every release build to a crash service. Upload that build's dSYM files and R8 or ProGuard mapping files in the same CI job.","check":"Crash a test build on purpose from a hidden test action. The report shows file names and line numbers from your code within 15 minutes. The crash service lists no missing symbols for the last 3 builds.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/crashes-and-quality/crash-symbols","related":["/playbook/engineering/running-in-production/logs-and-alerts","/playbook/stack/operations-tools/glitchtip","/playbook/mobile-apps/signing-and-release/build-numbers","/playbook/desktop-apps/update-integrity/staged-desktop-updates","/playbook/desktop-apps/crashes-telemetry-and-accessibility/desktop-crash-symbols"],"sources":["https://firebase.google.com/docs/crashlytics/ios/get-deobfuscated-reports","https://firebase.google.com/docs/crashlytics/android/get-deobfuscated-reports"]},{"id":"MOB-32","revision":"085c81df110f","updated":"2026-10-22","name":"Stay under the store's crash and freeze limits","level":"Recommended","rule":"Keep the share of daily users who see a crash below 1.09%, and a freeze (ANR) below 0.47%. Halt a rollout that passes either.","check":"Android vitals shows the user-perceived crash rate under 1.09% and the ANR rate under 0.47% for the last 28 days. No phone model is over 8%.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/crashes-and-quality/vitals-thresholds","related":["/playbook/mobile-apps/signing-and-release/phased-release","/playbook/operations/service-levels/service-level-objectives"],"sources":["https://developer.android.com/topic/performance/vitals"]},{"id":"MOB-33","revision":"53476c8c34b2","updated":"2026-10-22","name":"Keep cold start under a set budget","level":"Recommended","rule":"Set a time to first screen budget for a cold start on a mid-range test phone, such as 2 seconds. A benchmark in CI fails the build when a change passes it.","check":"The CI startup benchmark runs 5 cold starts on the reference device. Their median stays within the budget and within 10% of the last release.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/crashes-and-quality/startup-budget","related":["/playbook/website/performance/performance-budget"],"sources":["https://developer.apple.com/documentation/xcode/reducing-your-app-s-launch-time","https://developer.apple.com/documentation/xctest/xctapplicationlaunchmetric","https://developer.android.com/google/play/vitals/launch-time"]},{"id":"MOB-34","revision":"d5e8fc2d976d","updated":"2026-10-27","name":"Test every screen with VoiceOver and TalkBack","level":"Recommended","applies":["eu-users"],"rule":"Every control has a spoken label, role and state, and every main flow works with VoiceOver and TalkBack. Automated accessibility checks run in the UI tests of every build.","check":"UI tests run the accessibility audit on every main screen with 0 failures. Before each release, a tester completes sign-up, the main task and checkout with VoiceOver and with TalkBack.","check_type":"command","url":"https://agentwranglers.se/playbook/mobile-apps/crashes-and-quality/screen-reader-tests","related":["/playbook/compliance/product-and-data-laws/accessibility-act-duty","/playbook/accessibility/testing-and-procurement/accessibility-in-ci"],"sources":["https://www.w3.org/TR/wcag2mobile-22/","https://developer.apple.com/documentation/xcuiautomation/xcuiapplication/performaccessibilityaudit%28for%3A_%3A%29"]},{"id":"MOB-35","revision":"8240f46c24cd","updated":"2026-10-22","name":"Follow the system text size","level":"Recommended","rule":"All text scales with the person's text size setting, up to 200%, without being cut off or overlapping. Layouts reflow instead of shrinking text back.","check":"UI tests render every main screen at the largest accessibility text size. Screenshots show no clipped or overlapping text.","check_type":"manual","url":"https://agentwranglers.se/playbook/mobile-apps/crashes-and-quality/system-text-size","related":["/playbook/accessibility/seeing-and-reading/text-resize"],"sources":["https://www.w3.org/TR/wcag2mobile-22/","https://developer.apple.com/documentation/uikit/uifont/preferredfont%28fortextstyle%3A%29"]}]}