Upgrading
How to Upgrade the DrupalGap Module
More information on upgrading Drupal modules is available here.
How to Upgrade the DrupalGap Mobile Application Development Kit
First and foremost, make a backup of all of your code before beginning in case you need to roll backwards to older code.
All custom code should be in the app folder:
app
This allows DrupalGap to be updated easily. Then we can follow these steps to update to the latest version:
- Download the latest release of DrupalGap
- Extract DrupalGap into PhoneGap's www directory, so
index.htmlandbin/drupalgap.min.jsare overwritten with the new copies - Replace your
app/settings.jsfile with the newapp/default.settings.jsfile - Read UPGRADE.md to understand what is new (and for developer code changes)
- Migrate any changes originally made to your
settings.jsfile back into the newapp/settings.jsfile - Migrate any changes originally made to your
index.htmlfile back into the newindex.html
That should be it, run your app to have the latest DrupalGap in use!