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 12, 2022. It is now read-only.
In my iOS app I want to make use of the better performance of the WKWebView. I am using the official cordova-plugin-wkwebview-engine plugin. But after a new code-push update package has been downloaded the restart mechanism can't open the new index.html file. It seems that the app has not the permission to read files from the new package folder.
Everything is working again when I completely stop the app and restart it. Then the new index.html file can be served. (Using the UIWebView instead of WKWebView there are no problems replacing the code-push packages.)
Is there a solution for this problem?
I found a discussion about the cordova-hot-code-push plugin which seems to address the same problem: nordnet/cordova-hot-code-push#85
There the issue ("By default, wkwebview doesn't allow to switch to another folder. WK plugin set's readAccessURL to the folder, that is 1 level up to the index.html. ") is resolved by setting the readAccessURL from inside the plugin. Is this is also a possible solution for the cordova-plugin-code-push plugin?
The text was updated successfully, but these errors were encountered:
In my iOS app I want to make use of the better performance of the WKWebView. I am using the official
cordova-plugin-wkwebview-engine
plugin. But after a new code-push update package has been downloaded the restart mechanism can't open the new index.html file. It seems that the app has not the permission to read files from the new package folder.the location of the current index.html file is
the location of the new index.html file which can't be loaded is
Everything is working again when I completely stop the app and restart it. Then the new index.html file can be served. (Using the UIWebView instead of WKWebView there are no problems replacing the code-push packages.)
Is there a solution for this problem?
I found a discussion about the
cordova-hot-code-push
plugin which seems to address the same problem: nordnet/cordova-hot-code-push#85There the issue ("By default, wkwebview doesn't allow to switch to another folder. WK plugin set's readAccessURL to the folder, that is 1 level up to the index.html. ") is resolved by setting the
readAccessURL
from inside the plugin. Is this is also a possible solution for thecordova-plugin-code-push
plugin?The text was updated successfully, but these errors were encountered: