Skip to main content

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

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--name [required]stringYour unique name for the destination in Appflow
--package-name [required]stringYour app's package name in reverse domain format (e.g., com.yourdomain.yourappname)
--track [required]stringThe Play store track for app distribution (e.g., internal, alpha, beta, production)
--upload-key [required]stringPath to the key file Appflow uses to manage your app in the Play Store
--apkbooleanfalseOverride Appflows default behavior of deploying AABs to the Play Store

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringAppflow config file (.appflow.yaml by default)
--jsonbooleanfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token

Outputs

NameTypeDescription
namestringThe name of a Destination you've created in Appflow.
targetstringThe 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)objectThe latest successful deployment associated with this Channel or Destination.
.buildIdnumberA unique identifier for a build done in Appflow.
.buildNumber (optional)numberAn app-specific build number for builds done in Appflow.
.triggeredBystringAppflow user that triggered the build associated with this deployment.
.statusstringThe status of this deployment.
.commitSha (optional)stringThe commit hash.
.commitAuthorstringThe git user that created the commit associated with this build.
.commitCreatedstringString of datetime when the commit was created
.commitBranchstringThe branch on which the commit was created.
packageName (optional)stringThe package for the Google Play App associated with this Destination.
trackstringThe track for the Google Play App associated with this Destination.
releaseStatusstringThe release status for the Google Play App associated with this Destination.
{
"name": "Development",
"target": "Google Play",
"artifactType": "AAB",
"latestDeployment": null,
"packageName": "com.example.app",
"track": "INTERNAL",
"releaseStatus": "DRAFT"
}