cordova-multienv-hook
v1.0.0
Published
A Cordova hook to manage multiple envioronements easily.
Downloads
5
Readme
Work in progress
Cordova Multienv Hook
This hook allows you to change the application name, id and other configuration options depending on enviornement. It is heavily inspired by Devgirl's Three hooks your Cordova/PhoneGap project needs.
Configuration
Replace your app id by APPID and app name by APPNAME in config.xml
Create a multienv.json file in your project root.
See examples/multienv.json
for sample.
Execution
Export APP_ENV variable with the desired environement before running Cordova commands.