obxyann edited a comment on issue #883:
URL: https://github.com/apache/cordova-ios/issues/883#issuecomment-646932116


   I used ej-dunne's 
[coment](https://github.com/apache/cordova-ios/issues/883#issuecomment-644374530)
 at first. I can load local files by Ajax calls, but later **some other plugins 
I used had impacts because file:// scheme been changed to app://localhost/**
   
   1. [email protected] can't open local html because it 
navigate to "app://localhost/local.html" which reported 'unsupported URL' as 
IAB[#732](https://github.com/apache/cordova-plugin-inappbrowser/issues/732)
   
   2. I used Google Maps which refused the HTTP referrers 
'app://localhost/my-app.html' (I had already added it into allow list, but it 
seems only recognize those links started with http:// or __file_url __//)
   
   So I changed to 
[XHR#55](https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/issues/55).
   ej-dunne has a [hot 
patch](https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/issues/55#issuecomment-644962724)
 it does solve all above problems include AJAX call local...
   
   I think cordova-ios w/ WKWebView should advise the usage of file:// ...
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to