R rthyoung26 Member Licensed User Longtime User Dec 20, 2020 #1 I cannot display any webpages from the weather site Wunderground in a webview. The webpage loads but then switches to a solid white screen. I have tried using chrome client as well but no luck. The sites display properly in PC browsers and in other browsers on android. Sample URLs are: "https://www.wunderground.com/wundermap" "https://www.wunderground.com/maps/temperature/us-current" Any suggestions would be appreciated.
I cannot display any webpages from the weather site Wunderground in a webview. The webpage loads but then switches to a solid white screen. I have tried using chrome client as well but no luck. The sites display properly in PC browsers and in other browsers on android. Sample URLs are: "https://www.wunderground.com/wundermap" "https://www.wunderground.com/maps/temperature/us-current" Any suggestions would be appreciated.
JohnC Expert Licensed User Longtime User Dec 20, 2020 #2 This is a long-shot, but maybe when the screen turns solid white, the webpage actually scrolled out of view? Things to try: 1) See if the page will scroll into view 2) Try different overview modes 3) Try different zoom views Upvote 0
This is a long-shot, but maybe when the screen turns solid white, the webpage actually scrolled out of view? Things to try: 1) See if the page will scroll into view 2) Try different overview modes 3) Try different zoom views
JohnC Expert Licensed User Longtime User Dec 20, 2020 #3 You may need to use Webviewextras to access the different view/zoom settings. Upvote 0
kisoft Well-Known Member Licensed User Longtime User Dec 20, 2020 #4 Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Upvote 0
Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true")
JohnC Expert Licensed User Longtime User Dec 20, 2020 #5 kisoft said: Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Click to expand... Yes! There could be parts of the page that are not secure, and could screw up the rendering of the page if blocked - never thought of that! Upvote 0
kisoft said: Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Click to expand... Yes! There could be parts of the page that are not secure, and could screw up the rendering of the page if blocked - never thought of that!
R rthyoung26 Member Licensed User Longtime User Dec 21, 2020 #6 JohnC said: This is a long-shot, but maybe when the screen turns solid white, the webpage actually scrolled out of view? Things to try: 1) See if the page will scroll into view 2) Try different overview modes 3) Try different zoom views Click to expand... Thanks for reply, tried all this, zoom bars are visible but still only white screen after about 1/2 second. Prior to that you can see Wunderground page starting to load Upvote 0
JohnC said: This is a long-shot, but maybe when the screen turns solid white, the webpage actually scrolled out of view? Things to try: 1) See if the page will scroll into view 2) Try different overview modes 3) Try different zoom views Click to expand... Thanks for reply, tried all this, zoom bars are visible but still only white screen after about 1/2 second. Prior to that you can see Wunderground page starting to load
R rthyoung26 Member Licensed User Longtime User Dec 21, 2020 #7 JohnC said: You may need to use Webviewextras to access the different view/zoom settings. Click to expand... Thanks. Already have webviewextras2 incorporated, no luck Upvote 0
JohnC said: You may need to use Webviewextras to access the different view/zoom settings. Click to expand... Thanks. Already have webviewextras2 incorporated, no luck
R rthyoung26 Member Licensed User Longtime User Dec 21, 2020 #8 kisoft said: Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Click to expand... Thanks but didn't change anything, still just a white page. Upvote 0
kisoft said: Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Click to expand... Thanks but didn't change anything, still just a white page.
R rthyoung26 Member Licensed User Longtime User Dec 21, 2020 #9 kisoft said: Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Click to expand... Thanks - but still the same, just white page Upvote 0
kisoft said: Add this to your manifest ... maybe it'll help... The pages you entered do not have SSL encryption. B4X: Copy SetApplicationAttribute(android:usesCleartextTraffic, "true") Click to expand... Thanks - but still the same, just white page
kisoft Well-Known Member Licensed User Longtime User Dec 21, 2020 #10 Clear the project (ctrl + p) and run in release mode.. Upvote 0