You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/19 11:28:31 UTC
[GitHub] AshleyScirra opened a new issue #415: Support serving local content
with WKURLSchemeHandler
AshleyScirra opened a new issue #415: Support serving local content with WKURLSchemeHandler
URL: https://github.com/apache/cordova-ios/issues/415
Ref: https://bugs.webkit.org/show_bug.cgi?id=154916#c17
Cordova apps tend to serve local content. On iOS with WKWebView, this causes severe issues with many features, such as the complete inability to XMLHttpRequest or fetch local files due to strict security restrictions. Apps can resort to `cordova-plugin-file`, but this forces them to write different code to handle iOS, defeating the purpose of Cordova to allow the same code to run everywhere.
According to an Apple engineer, apps ought to be using WKURLSchemeHandler instead: https://developer.apple.com/documentation/webkit/wkurlschemehandler
Please consider officially supporting this in Cordova on iOS.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org