I am trying to use Ionic Cordova hot code push plugin to push updates from my server for my Android app.
The app gets updated automatically at first.
The second time, if I open the app, it opens with the older (installed) version.
What should I do to always open the updated version?
Steps I have done:
- Hot-code-push plugin installed.
- Cordova-hcp init.
- Auto update at start.
- Added chcp tag to config.xml with server URL.
- ionic cordova build android
- cordova-hcp build.
How can I resolve this issue?