jcesarmobile commented on pull request #1137: URL: https://github.com/apache/cordova-android/pull/1137#issuecomment-736429038
I have not used file for a long time, but as far as I remember android considered file safe, so all APIs worked, but things might have changed. They also work on http://localhost (default on ionic webview) I was under the impression that WebViewAssetLoader didn’t allow to “intercept” the requests, I thought you could only point to a folder in assets and it would load whatever is there, but using a proxy wouldn’t be possible, glad to be wrong. I think we are going to need this or some other approach because when you target SDK 30 you can’t fetch file urls anymore https://bugs.chromium.org/p/chromium/issues/detail?id=1101250 So unless somebody proposes an alternative, this is probably the only way ---------------------------------------------------------------- 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]
