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/01 10:37:56 UTC

[GitHub] [cordova-android] NiklasMerz edited a comment on pull request #1137: Webviewassetloader

NiklasMerz edited a comment on pull request #1137:
URL: https://github.com/apache/cordova-android/pull/1137#issuecomment-736388809


   Thank you. I got confused with Android and iOS quirks. There are some web APIs that need a https origin to work right? Maybe that's another benefit.
   
   My motivation to try that out, was that I need that origin for routing and I tried to build a proxy into that again like I did for iOS. The `WebViewAssetLoader` has similar capabilities like the `WKURLSchemeHandler` on iOS and I try to integrate this as similar as possible.
   
   The 'proxy' is to solve CORS and cookie issues and can live in a fork or the Ionic or custom webview as well. The proxy plugin can be found here: https://github.com/GEDYSIntraWare/cordova-plugin-webview-proxy.
   **This is just my personal requirement and it should not justify adding this breaking change to cordova-android, alone.**. 
   
   The hook for plugins to plug into the assetloaders path handlers is work in progress and I will change that again. 
   
   
   **Besides that, are there reasons for and against implementing the `WebViewAssetLoader` into cordova-android?**


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