I have a simple content based mobile application for android built using cordova and phonegap. The structure of which is like below
- css
- img
- js
- index.html
I use codepush https://microsoft.github.io/code-push/ to push over the air content updates to my consumers. Over time the structure of the application becomes
- cruise
- vertical
- dominate
- css
- img
- js
- index.html
- support.html
- sync.html
Now when I want to release an .apk update manually (not through the play store) with the same bundle id and version number (or different version) , with probably only a single plugin added. This causes the previously downloaded content to get erased and treats the application as if it is a fresh install rather than an update.
Is there a way wherein I can update the apk and still retain the previously downloaded content.