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


   > Images should load the local File - with "file:///" URL 
   
   With cordova-android@10, by default the 
[WebViewAssetLoader](https://developer.android.com/reference/androidx/webkit/WebViewAssetLoader)
 is used. Direct `file://` access is intentionally disabled as it's considered 
insecure. (Always has been, but there Android never provided a solution until 
WebViewAssetLoader) The `AndroidInsecureFileModeEnabled` preference is the 
escape hatch to make cordova-android behave like older versions, which does not 
use the `WebViewAssetLoader`.
   
   > or at least with cdvfile:// URL.
   
   `cdvfile://` file paths is suppose to still work, but it is known that it 
does not. I'll attach the bug label to this for this reason.


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

To unsubscribe, e-mail: [email protected]

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