Skip to content

Quickstart

This page assumes gplay is installed and you have a service-account JSON with access to your app.

Terminal window
# Register the credential (stored in your OS keychain) and make it active.
gplay auth login --service-account ./service_account.json
# See which accounts exist and which one is active.
gplay auth list
gplay auth status
Terminal window
gplay auth doctor --package com.example.myapp

This round-trips a real API call and tells you exactly what's missing if the service account isn't fully wired up.

Section titled “3. Pin your project (optional, recommended)”
Terminal window
cd ~/code/my-android-app
gplay init --package com.example.myapp

gplay init writes .gplay/config.json at the repo root. Every gplay command run inside that tree now targets com.example.myapp by default — no more --package on each call. The pin is meant to be committed; see Configuration.

Terminal window
# The release tracks and what's on them.
gplay tracks list
gplay tracks view --track production
# Recent user reviews (the API exposes the last 7 days).
gplay reviews list --stars 1-2
Terminal window
# Upload an AAB to the internal track with localized release notes.
gplay releases upload app.aab --track internal --release-notes-dir ./whatsnew
# Promote the latest internal build to beta — same versionCode, no re-upload.
gplay releases promote --from internal --to beta
# Stage a production rollout at 10%, then advance it.
gplay releases rollout --track production --to 0.10