-
Notifications
You must be signed in to change notification settings - Fork 467
Installation procedure Android OKKish and iOS Fails + WKWebview crashes #146
Comments
Ok this is another good experience for the others, it seems my server is caching certain files, so the hashes will eventually fail. |
What do you mean by
Depends on the preferences in
Good catch 👍 |
deactivate means minimizing it. |
I have added "update":"now" to chcpbuild.options, but it not gets copied into chcp.json. |
If you have created {
"content_url": "https://myserver.com/www/",
"release": "2015.09.05-12.20.15",
"update": "now"
} UPDATE: In that case - when you will execute |
That was really my fault, i have misconfigured it in the options file. |
According to the previous hash problem. You need to pay attention to this |
after a successful installation of update, download and reload of page in cordova debugger I can see |
As you already found out - currently plugin supports on iOS only |
Thanks. In other thread I was wondering meanwhike can I use v1.1.2 for iOS. |
Answered in there :) Check the links I provided there and decide. But in my opinion - changes are quite big since v1.1.2. I will try to make a quick fix tomorrow, might work. |
That would be awesome. You are great! |
I've created a branch with possible fix for telerik plugin. But it will work only if your index page doesn't have To install the plugin use the following command:
|
@nikDemyankov thanks a lot, saves the day! |
Android:
I have the following order of events when I update something on Android,
on first run it says installation is ready to be updated
then nothing happens
I dont quit the app, just deactivate
I deactivate the app, then it navigates to the stored old version
I get an event that chcp_updateInstalled
and it works...is this the intended behavior?
iOS, WKWebview:
I simply get an error, for the same manifest that wors for Android:
++++++++++++++++++ to chcp_updateLoadFailed – CustomEvent {detail: {error: {code: -4, description: "Hash c22cc828ab432172b069b4cddb4b435c of the file …tch the checksum 10f6bae1011fe6816fbd7affa1915cfe"}}, clipboardData: undefined, initCustomEvent: function, …}
UPDATE
after a successful installation of update, download and reload of page in cordova debugger I can see
2016-05-02 16:23:16.720 App[778:963626] WkWebView crash detected, recovering
...The text was updated successfully, but these errors were encountered: