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/12/19 19:05:20 UTC

[GitHub] [cordova-android] breautek commented on issue #560: Content-security-policy bug

breautek commented on issue #560:
URL: https://github.com/apache/cordova-android/issues/560#issuecomment-748512566


   > Surely the problem is in opening iframe from the page loaded from "file://" protocol.
   
   This is the problem.
   
   > Any updates on this issue?
   
   Not really. The only way to workaround this is to use schemes afaik. Ionic supports this which is why using the ionic webview is a potential workaround. Apache Cordova is hesitant of implementing schemes due to this [discussion](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/484) between Ionic and an Android WebView engineer.
   
   This problem _may_ be resolved by https://github.com/apache/cordova-android/pull/1137 as it's the encouraged alternative to take for schemes but the WebViewAssetLoader requires AndroidX which is a breaking change, so it definitely won't be available any time soon.


----------------------------------------------------------------
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