This change with the upgrade to SDK 29+ caught me. The minute I compiled with SDK31 my app broke. I wanted to load a web page with an image, but you must set:
wvsetttings.setAllowFileAccess(YOURNAMEFORWEBVIEW,True) for SDK >29 for the image tag to work correctly (<img src= xxx.png" alt = "alt">).
I had to use webview here. I am not having any issues with other content, which is created using internal memory and text strings, but the image from an internal file would not load.
Google changed the default setting from true to false apparently as a precaution against fraud. PayPal will not allow their website to be accessed anymore with webviews.
Apple iOS webview is not affected and still works fine.
The library is here:
Hi all. Here's a new library that makes it easy to set and get various WebView WebSettings. Note that the official documentation for many of these settings is rather brief, sometimes vague or virtually non-existent! Here is an alphabetical list of all methods with a short description. I've...
Of course you can set it back with b4xpages_disappear if you want. I sure would like to hear any other solutions.