You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/02 13:56:28 UTC

[GitHub] [cordova-ios] breautek commented on issue #883: No local file access

breautek commented on issue #883:
URL: https://github.com/apache/cordova-ios/issues/883#issuecomment-637559770


   You should migrate your app to use schemes, which should solve this issue, among other `file://` related issues with the WKWebView. Do note however that switching schemes will cause you lose web storage such as indexedDB or local storage, as the origin of your app will change.
   
   If you must use the `file://` scheme, then I would advise sticking with `cordova-ios@5.1.1` for the time being. You need to use a plugin such as https://github.com/oracle/cordova-plugin-wkwebview-file-xhr, but it currently expects the wkwebview engine to be installed, which is incompatible with cordova-ios@6. I've raised an issue at https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/issues/55 to see if they can update the plugin to support cordova-ios@6.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org