You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
I have the following workflow:
compile www folder for android
do: cordova-hcp build
do: cordova build -- chcp-production --release
Android installed.
I upload the www folder with chcp.json to the application server
so when android app is started there is no problem.
But on iOS later, I do not cordova prepare -- chcp-production the above www folder with that chcp.json, but issue the same steps. But that will result a different chcp.json and the iOS app will think the server chcp.json and its local chcp.json is different and immediately updates the app.
What is the best workflow of avoiding immediate updates?
Thanks!
The text was updated successfully, but these errors were encountered:
I think you already found out, that if release preference is different in server's and local chcp.json config - update will be downloaded to the app. This is because plugin doesn't compare release as "greater", it just check if it is different. There is a plan for improving that: #161
😢 We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.
Hello,
I have the following workflow:
compile www folder for android
do: cordova-hcp build
do: cordova build -- chcp-production --release
Android installed.
I upload the www folder with chcp.json to the application server
so when android app is started there is no problem.
But on iOS later, I do not cordova prepare -- chcp-production the above www folder with that chcp.json, but issue the same steps. But that will result a different chcp.json and the iOS app will think the server chcp.json and its local chcp.json is different and immediately updates the app.
What is the best workflow of avoiding immediate updates?
Thanks!
The text was updated successfully, but these errors were encountered: