This plugin facilitates the handling of Ionic Platform's deploy channels to use a single codebase for several versions of your application.
This plugin is best used when piped with
gulp-ng-constant to generate angular constants such as the deploy channel.
var gulp = ;var ionicChannels = ;var ngConstant = ;gulp;
included in the requested deploy channel (from the input configuration), along with the version from your
package.json file and the tag of the channel itself.
Apart from the 'Multiple Environments' section of their documentation (which is incompatible with our plugin as it is already handled by it), the other options can be used with no issue.
Input Cordova Configuration Template
Updaty is a great app which self updatesTheodo
Cordova Configuration Output
Updaty StagingUpdaty is a great app which self updatesTheodo
The deploy channel which will be used to filter the input configuration passed as source.
The path to the cordova configuration template file.
The path on which the cordova configuration file will be outputted.
Thanks to the developers/maintainers of gulp-ng-constant, as most of their code was used to create the skeleton for this plugin.