Ns android play console release

From Melvynx/saveit.now · View interactive version

Ns android play console release is an AI agent skill from the GitHub repository Melvynx/saveit.now. Finish NowStack Mobile Google Play setup and internal Android releases. Use for signed AAB upload, gpc/browser fallback, privacy/app-content gates, or gpc commit failures.

How to use this skill

Skill file

Android Play Console Release

Use this skill for the practical NowStack Android Play Console path after the Play app/package exists: build a production AAB, validate it, upload it to the Play internal track, and finish the Play Console compliance gates that cannot be safely automated from the API.

Decision

Preconditions

Read the repo rules before mutations:

.agents/rules/store-release.md
.agents/rules/mobile-app.md
.agents/rules/auth-payments-storage.md

Confirm:

Never print service-account private keys or commit credential files.

Build

Detect the OS before choosing the build path:

uname -s || node -p "process.platform"

macOS local EAS build:

cd mobile-app
eas build --platform android --profile production --local --non-interactive --output /tmp/nowstack-android-local-v<N>.aab

Windows/Linux EAS cloud build:

cd mobile-app
npx eas-cli@latest build --platform android --profile production --non-interactive

Verify generated Expo config before building:

cd mobile-app
npx expo config --type public

Expected success signals:

Validate

Run local and server-side validation before mutation:

ls -lh /tmp/nowstack-android-local-v<N>.aab
shasum -a 256 /tmp/nowstack-android-local-v<N>.aab
gpc validate /tmp/nowstack-android-local-v<N>.aab --output json
gpc --app dev.melvynx.nowstack publish /tmp/nowstack-android-local-v<N>.aab --track internal --notes "Initial internal test release." --validate-only --changes-not-sent-for-review

gpc preflight is useful when it works, but do not treat a local CLI crash as a Play rejection. Record the crash and continue with stronger signals.

Upload

Try gpc first:

gpc --app dev.melvynx.nowstack --no-interactive --yes releases upload /tmp/nowstack-android-local-v<N>.aab \
  --track internal \
  --notes "Initial internal test release." \
  --name "1.0.0 (<versionCode>)" \
  --changes-not-sent-for-review \
  --output json

If gpc publish or gpc releases upload validates but fails during real commit, use the bundled direct API fallback:

node .agents/skills/ns-android-play-console-release/scripts/upload-internal-release.cjs \
  --app dev.melvynx.nowstack \
  --aab /tmp/nowstack-android-local-v<N>.aab \
  --service-account mobile-app/google-play-service-account.json \
  --track internal \
  --name "1.0.0 (<versionCode>)" \
  --notes "Initial internal test release."

The script creates an Android Publisher edit, uploads the AAB, assigns the track, and commits with retry. It auto-recovers from both states observed in practice:

Verify after upload:

gpc --app dev.melvynx.nowstack releases status --output json

Success looks like:

[
  {
    "track": "internal",
    "status": "completed",
    "versionCodes": ["6"]
  }
]

Play Console UI Gates

Binary upload can be done via CLI/API. Play Console setup is only partly automatable.

Use browser UI for:

Known reviewer account pattern for this repo:

Email: appstoretest@email.com
OTP/code: 123456
Instructions:
Open the app, choose Continue with email, enter appstoretest@email.com, then use verification code 123456. If the onboarding paywall appears, continue with the available non-purchase path. No Google or Apple sign-in is required.

Do not claim premium/full paid access unless the account is actually granted it in production.

If Chrome automation is blocked by an extension popup such as 1Password, stop and ask the user to dismiss the popup. Do not switch to risky OS-level browser control for Play Console forms.

Failure Modes

Report

Include:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.