dpogue commented on issue #1564: URL: https://github.com/apache/cordova-ios/issues/1564#issuecomment-3336514059
This sounds like an upstream WebKit issue and not something that Cordova can work around. WebKit's support for `file:///` URLs has been getting more and more strict over the past several years to try to reduce security risks. You can try submitting this as an issue with a reproducible test case on https://bugs.webkit.org and Apple Feedback Assistant, but I suspect they won't fix it. The recommended option (and the default for newly created Cordova apps) is to use a local scheme, unfortunately that does come with data migration issues that you identified. There are some plugins that might be able to help with migrating data (although these were mostly intended to migrate from `UIWebView` to `WKWebView` rather than from `file:///` to `app://localhost`): https://github.com/kassamina/cordova-plugin-ionic-migrate-storage#thanks -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
