@powerofdark/publish-aab-google-play
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • 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);
  });

Package Sidebar

Install

npm i @powerofdark/publish-aab-google-play

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

12.9 kB

Total Files

7

Last publish

Collaborators

  • powerofdark