ionic deploy add
Adds Appflow Deploy to the project
ionic deploy add [options]
This command adds the Appflow Deploy plugin (cordova-plugin-ionic
) for both Capacitor and Cordova projects.
For Capacitor projects it runs all the steps necessary to install the plugin, sync with the native projects and add the configuration to the proper iOS and Android configuration files.
For Cordova projects it just takes care of running the proper Cordova CLI command with the submitted parameters.
Examples
$ ionic deploy add
$ ionic deploy add --app-id=abcd1234 --channel-name="Master" --update-method=background
$ ionic deploy add --max-store=2 --min-background-duration=30
$ ionic deploy add --app-id=abcd1234 --channel-name="Master" --update-method=background --max-store=2 --min-background-duration=30