I converted my website into an app, it works properly in AVD but it does not work on my phone. I'm getting this error.
Asked
Active
Viewed 21 times
0
-
The error is `err_cleartext_not_permitted`. You need to use HTTPS. – David Magalhães Feb 26 '20 at 17:53
-
Please post text, not links to images of text. – Dave Newton Feb 26 '20 at 18:05
1 Answers
0
From Android 9 all requests through http protocol will be blocked by default. You can add networkSecurityConfig to your Manifest file. But I recommend use only https. Please refer to this answer https://stackoverflow.com/a/51902630/12967117 for more explanations how to allow using http.

Vladislav Vatrushkin
- 801
- 5
- 3