2021年2月5日星期五

WebView on Android 11 - not showing local image files

I have a problem with WebView on Android 11 (this worked under Android 10). The html

<img src='file:///storage/emulated/0/Android/data/<package>/image_cache/item_15.bmp'>  

does not load the image. That html is part of a larger string. The image file was created by the same app and is valid.

What's changed?

https://stackoverflow.com/questions/66072416/webview-on-android-11-not-showing-local-image-files February 06, 2021 at 08:32AM

没有评论:

发表评论