October 13, 2014

Cordova-bootstrapper: Update of hybrid App or its content without pushing new releases to a web store.

For a hybrid App I had a requirement to be able to push update of the App or of its content not through the web store release. First of all it's important mainly because people which were not directly involved with developing could update a content. Second reason is that verifying a new release could take enormous amount of time for some platforms.

Thus, cordova-bootstrapper was created for this purpose. Basically cordova-bootstrapper is a "wrapper" system that allows you to push updates/new content for already installed cordova app.

First installation of the App includes installation of cordova-bootstrapper, cordova buid for specific platform, www zip folder of the actual App (embedded App) and content for the embedded app.

During each start of the App cordova-bootstrapper compares version file (version.json) in the App folder with version file on your remote server. If updates found cordova-bootstrapper detects it and installs new version of the embedded App or updates the content.

For more information visit :https://github.com/Qvatra/Bootstrapper

The flow diagram of the cordova-bootstrapper:


No comments:

Post a Comment