Skip to main content

appflow destination update-android

[appflow, destination, update-android]

Update an existing Google Play Store destination in Appflow

appflow destination update-android [flags]

Examples

appflow destination update-android --app-id=a1234bc --name="Google Play Production" --track=production"
appflow destination update-android --app-id=a1234bc --name="Google Play Production" --package-name=com.yourdomain.rebrand"

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--name [required]stringYour unique name for the destination in Appflow
--aabbooleanfalseChange the artifact type to AAB
--apkbooleanfalseChange the artifact type to APK
--package-namestringYour app's package name in reverse domain format (e.g., com.yourdomain.yourappname)
--renamestringGive your destination a new name
--trackstringThe Play store track for app distribution (e.g., internal, alpha, beta, production)
--upload-keystringPath to the key file Appflow uses to manage your app in 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"
}