appflow destination create-android
[appflow, destination, create-android]
Create a new Google Play Store destination in Appflow
appflow destination create-android [flags]
Examples
appflow destination create-android --app-id=a1234bc --name="Google Play Production" --track=internal --package-name=com.example --upload-key="./key.json"
appflow destination create-android --app-id=a1234bc --name="Google Play Production (Legacy App)" --track=internal --package-name=com.example --upload-key="./key.json" --apk
Flags
Name | Type | Default | Description |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--name [required] | string | Your unique name for the destination in Appflow | |
--package-name [required] | string | Your app's package name in reverse domain format (e.g., com.yourdomain.yourappname) | |
--track [required] | string | The Play store track for app distribution (e.g., internal, alpha, beta, production) | |
--upload-key [required] | string | Path to the key file Appflow uses to manage your app in the Play Store | |
--apk | boolean | false | Override Appflows default behavior of deploying AABs to the Play Store |
Global Flags
Name | Type | Default | Description |
---|---|---|---|
-h, --help | boolean | false | Print help information for command |
--config | string | Appflow config file (.appflow.yaml by default) | |
--json | boolean | false | For commands with output, shortcut to print as JSON |
--output | string | "text" | For commands with output, print as [json] or human readable [text] |
--token | string | Ionic authorization token |
Outputs
Name | Type | Description |
---|---|---|
name | string | The name of a Destination you've created in Appflow. |
target | string | The target (Apple App Store/Google Play) of your Destination in Appflow. |
artifactType | "APK" | "DSYM" | "XCARCHIVE" | "IPA" | "APP" | "AAB" | "WWW_MANIFEST" | "WWW_MANIFEST_V2" | "WWW_ZIP" | "PNG" | "MP4" | The file type of the artifact that is uploaded to the store destination |
latestDeployment (optional) | object | The latest successful deployment associated with this Channel or Destination. |
.buildId | number | A unique identifier for a build done in Appflow. |
.buildNumber (optional) | number | An app-specific build number for builds done in Appflow. |
.triggeredBy | string | Appflow user that triggered the build associated with this deployment. |
.status | string | The status of this deployment. |
.commitSha (optional) | string | The commit hash. |
.commitAuthor | string | The git user that created the commit associated with this build. |
.commitCreated | string | String of datetime when the commit was created |
.commitBranch | string | The branch on which the commit was created. |
packageName (optional) | string | The package for the Google Play App associated with this Destination. |
track | string | The track for the Google Play App associated with this Destination. |
releaseStatus | string | The release status for the Google Play App associated with this Destination. |