publish-android-to-google-play
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

Publish Android App Bundle to Google Play

$ npm install -g publish-aab-google-play
$ publish-aab-google-play --help
Usage: publish-aab-google-play [options]

Publish Android App Bundle to Google Play

Options:
  -k, --keyFile <path>      set google api json key file
  -p, --packageName <name>  set package name (com.some.app)
  -a, --aabFile <path>      set path to .aab file
  -t, --track <track>       set track (production, beta, alpha...)
  -c, --changesNotSentForReview true   set changesNotSentForReview flag
  -s  --status              set status at the store i.e draft, completed
  -e, --exit                exit on error with error code 1.
  -h, --help                output usage information

Example:

$ publish-aab-google-play -k ./api-publish.json -p com.laCosaNostra.FiveHundredAndTwelve2 -a ./platforms/android/app/build/outputs/bundle/release/app.aab -t beta -c true

Use in your own program

import { publish } from "publish-aab-google-play";

publish({
  keyFile: "./api-publish.json",
  packageName: "com.laCosaNostra.FiveHundredAndTwelve2",
  aabFile: "./platforms/android/app/build/outputs/bundle/release/app.aab",
  track: "beta"
})
  .then(() => {
    console.log("Success");
  })
  .catch(error => {
    console.error(error);
  });

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.61latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.61

Package Sidebar

Install

npm i publish-android-to-google-play

Weekly Downloads

1

Version

1.1.6

License

ISC

Unpacked Size

13.1 kB

Total Files

7

Last publish

Collaborators

  • roman.balmus