メインコンテンツまでスキップ
バージョン: v5

ionic deploy configure

Overrides Appflow Deploy configuration

ionic deploy configure [options]

This command overrides configuration for the Appflow Deploy plugin (cordova-plugin-ionic) in Capacitor projects.

For Capacitor projects, if the plugin is already installed, it overrides the configuration variables in the native projects.

For Cordova projects this is not implemented because it is better to reinstall the plugin with the different parameters and let Cordova deal with the changes.

Examples

$ ionic deploy configure
$ ionic deploy configure --app-id=abcd1234 --channel-name="Master" --update-method=background
$ ionic deploy configure --max-store=2 --min-background-duration=30
$ ionic deploy configure --app-id=abcd1234 --channel-name="Master" --update-method=background --max-store=2 --min-background-duration=30
$ ionic deploy configure android
$ ionic deploy configure ios

Inputs

platform

Description

The native platform (e.g. ios, android)

Options

--app-id =<id>

Description

Your Appflow app ID

--channel-name =<name>

Description

The channel to check for updates from

--update-method =<name>

Description

The update method that dictates the behavior of the plugin

Advanced Options

--max-store =<quantity>

Description

The maximum number of downloaded versions to store on the device

--min-background-duration =<seconds>

Description

The minimum duration after which the app checks for an update in the background