# publish-android-to-google-play

> Publish Android App Bundle to Google Play

Latest version **1.1.6** (published 2023-09-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install publish-android-to-google-play
pnpm add publish-android-to-google-play
yarn add publish-android-to-google-play
bun add publish-android-to-google-play
```

Provides the command `publish-android-to-google-play`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.6 |
| Published | 2023-09-19 |
| First published | 2023-09-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 12.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Studio La Cosa Nostra |
| Maintainers | roman.balmus |
| Keywords | aab, cli, google play, google, play, android, mobile |

## Links

- npm: https://www.npmjs.com/package/publish-android-to-google-play
- Repository: https://github.com/romanvegans/publish-aab-google-play
- Homepage: https://github.com/romanvegans/publish-aab-google-play#readme
- Issues: https://github.com/romanvegans/publish-aab-google-play/issues
- npm.io page: https://npm.io/package/publish-android-to-google-play

## Dependencies (2)

- [commander](https://npm.io/package/commander.md) ^9.2.0
- [googleapis](https://npm.io/package/googleapis.md) ^100.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.1.6 (latest) — 2023-09-19

## README

Publish Android App Bundle to Google Play

```bash
$ npm install -g publish-aab-google-play
$ publish-aab-google-play --help
```

```bash
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:* 

```bash
$ 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**

```typescript
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);
  });
```

---
_Source: https://npm.io/package/publish-android-to-google-play · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
