Cordova hot-code-push not working

The problem is resolved. Looking at forums, below are the correct steps

  1. Run cordova plugin add cordova-hot-code-push-plugin in the project
  2. Install npm install -g cordova-hot-code-push-cli on the system
  3. Run cordova-hcp init and enter details
  4. Run cordova-hcp build
  5. Add the following in config.xml

    <chcp> <config-file url="https://example.com/chcp.json"/> </chcp>

  6. Run cordova build

http://stackoverflow.com/questions/38159396/cordova-hot-code-push-not-working

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s