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.
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.
Export APP_ENV variable with the desired environement before running Cordova commands.