Skip to main content

appflow native-config create

[appflow, native-config, create]

Create a native config in Appflow

appflow native-config create [flags]

Examples

appflow native-config create --app-id=b3456cd --name=Development --bundle-id=com.example.app.dev --app-name="My App (Dev)"

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--name [required]stringYour unique name for the native config in Appflow
--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[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"

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
}
}