C
C
Chesterfield252020-10-31 09:26:11
Java
Chesterfield25, 2020-10-31 09:26:11

Why is the link not opening in the webview?

The application has two buttons, when clicked, 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 which is in the screenshot.
5f9d037fd0bcb359150856.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chesterfield25, 2020-10-31
@Chesterfield25

Added the following line to your application tag :
android:usesCleartextTraffic="true"
Solution:
Add the following line to your application tag :
android:usesCleartextTraffic="true"
As shown below:

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question