Skip to main content

appflow native-config update

[appflow, native-config, update]

Update an existing native config in Appflow

appflow native-config update [flags]

Examples

appflow native-config update --app-id=a1234bc --name="My Config" -bundle-id=com.example.app.staging --app-name="My App (Staging)"

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--name [required]stringAppflow native config name
--app-namestringThe app's formal name, as it appears on the device's home screen and within app-store interfaces
--bundle-idstringThe app's reverse-domain identifier
--live-update-app-idstring[Ionic Cordova Plugin Config] Appflow application id
--live-update-channel-namestring[Ionic Cordova Plugin Config] Live Update channel name
--live-update-disable-deploybooleanfalse[Ionic Cordova Plugin Config] Disable Live Updates from being applied
--live-update-max-storenumber0[Ionic Cordova Plugin Config] Number of previous Live Updates that can be stored on a device
--live-update-methodstring"background"[Ionic Cordova Plugin Config] Live Update method to determine how the app will check for and apply updates, "background", "auto", or "none"
--live-update-min-background-durationnumber0[Ionic Cordova Plugin Config] Number of seconds the app needs to be in the background for it to have been considered "closed"
--renamestringChanges the name of native config

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 Native Config you've created in Appflow.
base (optional)objectThese Native Config variables allow you to override properties on a Native Build.
.name (optional)stringOverride the home screen name for a Native Build.
.bundleId (optional)stringOverride the bundle identifier for a Native Build.
liveUpdatesConfig (optional)objectThese Native Config variables allow you to override properties used by the Live Updates Plugin.
.appId (optional)stringYour app's unique identifier in Appflow.
.channelName (optional)stringThe name of a channel that hosts Live Updates.
.maxStore (optional)numberThe maximum number of updates for the Live Updates Plugin to store on the device.
.minBackgroundDuration (optional)numberThe number of seconds the app needs to be in the background before the Live Updates Plugin considers it closed.
.updateMethod (optional)stringThe update method for the Live Updates Plugin to use.
.disableDeploy (optional)booleanWhether the Live Updates Plugin should be disabled or not.
{
"name": "Default Configuration",
"base": {
"name": "Ionic App",
"bundleId": "com.ionicapp.bundle"
},
"liveUpdatesConfig": {
"appId": "052b32ac",
"channelName": "Production",
"maxStore": 3,
"minBackgroundDuration": 30,
"updateMethod": "auto",
"disableDeploy": false
}
}