appflow live-update set-native-versions
[appflow, live-update, set-native-versions]
Control when an update happens based on native features and binary version
appflow live-update set-native-versions [flags]
Examples
appflow live-update set-native-versions --app-id=b3456cd --build-id=baf924a --ios-min=1.2.3 --android-min=1.2.3
Flags
Name | Type | Default | Description |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--build-id [required] | number | Appflow build id | |
--android-eq | string | If the Android native binary is this version, do NOT download this live update, because they are equal | |
--android-max | string | Android native binary must be this version or below in order to download this live update | |
--android-min | string | Android native binary must be at least this version in order to download this live update | |
--ios-eq | string | If the iOS native binary is this version, do NOT download this live update, because they are equal | |
--ios-max | string | iOS native binary must be this version or below in order to download this live update | |
--ios-min | string | iOS native binary must be at least this version in order to download this live update |
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 |
---|---|---|
appId | string | Your app's unique identifier in Appflow. |
buildId | number | A unique identifier for a build done in Appflow. |
androidMin (optional) | string | The Native Binary version that is the minimum required in order to use this Live Update. |
androidMax (optional) | string | The Native Binary version that is the maximum still allowed to use this Live Update. |
androidEq (optional) | string | The Native Binary version that should be considered equivalent and ignore this Live Update. |
iosMin (optional) | string | The Native Binary version that is the minimum required in order to use this Live Update. |
iosMax (optional) | string | The Native Binary version that is the maximum still allowed to use this Live Update. |
iosEq (optional) | string | The Native Binary version that should be considered equivalent and ignore this Live Update. |
Successful Output
{
"appId": "052b32ac",
"buildId": 6010455,
"androidMin": "1.0.0",
"androidMax": "1.3.0",
"androidEq": "1.2.3",
"iosMin": "1.0.0",
"iosMax": "1.3.0",
"iosEq": "1.2.3"
}