Skip to content Skip to sidebar Skip to footer

Android 9 Api 28 Only Webview Is Showing A Black Pop Up In Some Devices

I have been trying to figure out why one of the pop-ups inside a webview is showing a black screen in some devices. please see attach The URL works as URI but not inside the webvie

Solution 1:

Follow the steps mentioned below:

  1. Editing useCleartextTraffic attribute in manifest file.

  2. Adding Network Security Config.

    <applicationandroid:usesCleartextTraffic="true"><base-configcleartextTrafficPermitted="true"><trust-anchors><certificatessrc="system" /><certificatessrc="user" /></trust-anchors></base-config>

Post a Comment for "Android 9 Api 28 Only Webview Is Showing A Black Pop Up In Some Devices"