-
Notifications
You must be signed in to change notification settings - Fork 466
The app will instant update, not able to control manually #115
Comments
Did you set
At the moment there is no method to just check, if new release is available for download. Since it is executed in the background - you don't really need to force user to wait for it, and then again - ask for installation. You can just download it, and only then ask for installation permission. To check, if new release was loaded and available for installation I am planning to add new JS method: #102 . For now you'll have to capture |
I do set both to enabled="false"
But the code seem like doesn't work correctly. Is it affected by the chcp.json under /www I also try to set a flag using chcp_updateIsReadyToInstall, but it seem like auto download and update, refresh application. Can i request an enhancement in future? Implement updating progress 0% to 100% indicator, this can prevent user to quit app or switch app into background when the app loading long time for downloading update. Thanks for your instant reply. |
Okey, you are using local development plugin. You need to either remove it or disable it, if you want to test manual update handling. When application launched - he is connecting via socket to the local server and listens for project files updates. When you change something - he fetches update from the server. Regarding progress bar: of course, but this is not gonna be implemented soon since there is a lot of other stuff laying around in the issues list... |
Understand. Thank you very much |
Hope it will resolve the problem you have :) If so - let me know and I'll close the issue. |
Thanks! Keep in view |
document.addEventListener('chcp_updateIsReadyToInstall', this.hello, false);
hello: function(){
//Display a message, click ok to check for update
//gap.checkForUpdate();
}
The app will auto update and refresh instantly
The local server had set as:
"update": "resume",
Any method to track the progress of downloading?
Actually i wish to do in this way but try several times also can't do it
Sorry for the trouble.
Thanks
LK
The text was updated successfully, but these errors were encountered: