1.0.0 • Published 9 years ago

cordova-multienv-hook v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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.