Why doesn't the link open in the webview?

  • 0
    The app has two buttons, when you click on which, two different links open. One link to the login page opens normally, but the referral link does not want to open and gives an error that is in the screenshot.
    Java Anonymous, Jan 28, 2019

  • 1 Answers
  • 0
    Added the following line to my applicationtag:



    android: usesCleartextTraffic = "true"



    Solution:



    Add the following line to your application tag:



    android: usesCleartextTraffic = "true"

    As shown below:



    <application
    ....
    android:usesCleartextTraffic="true"
    ....>
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!