{"slug":"mobile-release-2","title":"mobile-release","summary":"Use when shipping an iOS or Android app update to the App Store or Google Play - Apple or Google rejected or warned about a build (ITMS-91053 privacy manifest, required reason API, missing usage description, target API level, 16 KB page size, exported activity, SMS or call log pe","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-02T16:53:20.04062Z","repo":{"url":"https://github.com/beginwithu/agent-skills","stars":11,"forks":2,"license":"MIT","updatedAt":"2026-12-02T16:37:11Z"},"bodyHtml":"<hr>\n<h2>name: mobile-release\ndescription: \"Use when shipping an iOS or Android app update to the App Store or Google Play - Apple or Google rejected or warned about a build (ITMS-91053 privacy manifest, required reason API, missing usage description, target API level, 16 KB page size, exported activity, SMS or call log permission, Data safety), a readiness check before submitting an iOS, Android, Flutter or React Native release, or whether to pause, halt or widen a phased or staged rollout from crash rate, ANR rate or Play's bad behavior thresholds. Checks the project with stdlib scripts.\"\nargument-hint: \"[ios project dir | android project dir | rollout.csv]\"\nlicense: MIT\nmetadata:\nversion: 1.0.0\nbuild_pattern: \"Three deterministic stdlib scripts (iOS privacy manifest and purpose-string check, Android Play release check, staged-rollout gate) with blocking exit codes; rules cited to Apple's Bundle Resources and App Store Connect documentation, Apple Upcoming Requirements, developer.android.com target-SDK and 16 KB page-size pages and the Android Developers Blog on Play core vitals\"\ndistinct_from: \"app-store-optimization (store listing, keywords, conversion; this gates the binary and the rollout); ship-gate (pre-production audit for web services); release-management advice in senior-devops (CI/CD, not store review)\"</h2>\n<h1>Mobile Release</h1>\n<blockquote>\n<p><strong>Portability:</strong> 3 stdlib Python scripts. They read project files only. No network, no store API calls.\n<strong>Rules verified 2026-11-17.</strong> Store rules move every year; each script prints the date its table was checked.</p>\n</blockquote>\n<p>Most store rejections and bad rollouts come from a short list of mechanical\nmisses: an API Apple requires a reason for, a purpose string that was never\nadded, a targetSdk one level behind, a receiver without <code>android:exported</code>,\na crash spike that was widened to 50% because nobody compared it with the last\nrelease. This skill checks each one before it costs a review cycle.</p>\n<h2>Workflow</h2>\n<pre><code># 1 - iOS: required-reason APIs vs PrivacyInfo.xcprivacy, purpose strings, SDK manifests\npython scripts/ios_privacy_manifest_check.py --project ios/\n# 2 - Android: Play target API level, exported components, declaration permissions, 16 KB pages\npython scripts/android_release_check.py --project android/ --form-factor phone\n# 3 - During rollout: compare the new release with the last one, then widen, hold or halt\npython scripts/rollout_gate.py --input rollout.csv\n</code></pre>\n<p><strong>Step 1</strong> finds code that uses a required-reason API category (file\ntimestamps, system boot time, disk space, active keyboards, UserDefaults) and\nchecks the app manifest declares it with a reason Apple lists for that\ncategory. It blocks invalid and SDK-only reasons, a framework used without its\n<code>NS...UsageDescription</code> (Info.plist or <code>INFOPLIST_KEY_</code> build setting), and\nwarns when a vendored SDK ships no manifest of its own. Pick the reason that\nis <strong>true</strong>; an upload that passes is not proof the reason is right.</p>\n<p><strong>Step 2</strong> reads targetSdk from Gradle (including Capacitor <code>variables.gradle</code>\nand version catalogs) and applies Play's dated rule for the form factor. It\nblocks debuggable builds and intent-filter components with no\n<code>android:exported</code>, and lists permissions that need a Play Console declaration\nbefore release (background location, SMS, all-files access, exact alarms,\nforeground service types).</p>\n<p><strong>Step 3</strong> needs counts, not percentages: users and crashed users for the\nbaseline and the new release. It halts on Play's bad-behavior thresholds or a\nstatistically significant regression, and holds when the regression is not yet\nsignificant or the release has too few users.</p>\n<h2>Hard rules</h2>\n<ul>\n<li><strong>Pick the reason code the stated use supports.</strong> When the user says how the API is used, name the one matching code (for example C617.1 for timestamps of files in the app container); ask only when the use is unknown.</li>\n<li><strong>A BLOCKER means do not submit.</strong> Fix it, re-run, then upload.</li>\n<li><strong>Never declare a reason code to make the check pass.</strong> Ask what the code does with the API, then pick the reason.</li>\n<li><strong>The app's manifest cannot cover an SDK.</strong> Update the SDK to a version that ships its own manifest.</li>\n<li><strong>Never widen a rollout on a percentage alone.</strong> Feed the gate counts for both releases.</li>\n<li><strong>iOS cannot roll back.</strong> A paused phased release is still downloadable by hand; plan the fix or pull the build.</li>\n<li><strong>Re-check dates.</strong> If today is past a date in a script's rule table, confirm against the official page in the references.</li>\n</ul>\n<h2>Scripts</h2>\n<table>\n<thead>\n<tr>\n<th>Script</th>\n<th>Role</th>\n<th>Exit codes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>scripts/ios_privacy_manifest_check.py</code></td>\n<td>Required-reason APIs, reason codes, purpose strings, SDK manifests, tracking keys</td>\n<td>0 · 2 warnings · 3 bad input · 4 blocked</td>\n</tr>\n<tr>\n<td><code>scripts/android_release_check.py</code></td>\n<td>Target API level by date and form factor, exported, debuggable, declarations, 16 KB</td>\n<td>0 · 2 warnings · 3 bad input · 4 blocked</td>\n</tr>\n<tr>\n<td><code>scripts/rollout_gate.py</code></td>\n<td>PROCEED / HOLD / HALT from crash and ANR counts vs baseline</td>\n<td>0 proceed · 2 hold · 3 bad input · 4 halt</td>\n</tr>\n</tbody>\n</table>\n<p>All support <code>--help</code>, <code>--sample</code> and <code>--output json</code>.</p>\n<h2>References and assets</h2>\n<ul>\n<li><a href=\"references/ios_submission_rules.md\"><code>references/ios_submission_rules.md</code></a>: privacy manifests, reason codes, purpose strings, SDK and Xcode minimums (7 sources)</li>\n<li><a href=\"references/play_release_rules.md\"><code>references/play_release_rules.md</code></a>: target API levels, exported, declarations, Data safety, 16 KB pages (7 sources)</li>\n<li><a href=\"references/staged_rollout_gates.md\"><code>references/staged_rollout_gates.md</code></a>: phased vs staged rollout, vitals thresholds, the regression test (6 sources)</li>\n<li><a href=\"assets/rollout.example.csv\"><code>assets/rollout.example.csv</code></a>: input format for the gate</li>\n<li><a href=\"assets/release_checklist.md\"><code>assets/release_checklist.md</code></a>: submission and rollout sign-off</li>\n</ul>\n","files":[{"path":"assets/release_checklist.md","sizeBytes":999,"isText":true},{"path":"assets/rollout.example.csv","sizeBytes":165,"isText":false},{"path":"LICENSE","sizeBytes":1072,"isText":false},{"path":"references/ios_submission_rules.md","sizeBytes":4327,"isText":true},{"path":"references/play_release_rules.md","sizeBytes":3442,"isText":true},{"path":"references/staged_rollout_gates.md","sizeBytes":3913,"isText":true},{"path":"scripts/android_release_check.py","sizeBytes":18570,"isText":true},{"path":"scripts/ios_privacy_manifest_check.py","sizeBytes":18879,"isText":true},{"path":"scripts/rollout_gate.py","sizeBytes":12767,"isText":true},{"path":"SKILL.md","sizeBytes":5776,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-12-02T16:55:01.386069Z","sha256":"06E9BD9A24DF1393BAB86DD668A3810E211582485987B1CD7B94A610D4A94A4F","sizeBytes":28248},"review":null,"source":{"repositoryUrl":"https://github.com/beginwithu/agent-skills","path":"skills/mobile-release","license":"MIT","commit":"a960304c52212f2e845067047f5cefc0c594d787","subtreeSha":"F19335F58BA74DEA86D5A025553557597192DF15E55B3251D5DAC02DCC57AD8D","lastSyncedAt":"2026-12-02T16:52:59.20206Z"},"reviewedAt":"2026-12-02T16:58:15.052775Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/beginwithu/agent-skills/tree/main/skills/mobile-release"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install beginwithu-agent-skills@llmmart"},{"target":"git","command":"git clone https://github.com/beginwithu/agent-skills.git"}]}