Android Question Webpage not found ERR:clearbtext not permitted

Zizile

New Member
Hi everyone
I am new to BAx platform, I want to display a website on webview but I keep getting an error for my web but I can open Google and YouTube.

I have selected both okhttputili and okhttp libraries.

Kindly assist
Thank you
 

Attachments

  • Screenshot_20221116_122114_b4a.example.jpg
    Screenshot_20221116_122114_b4a.example.jpg
    196.1 KB · Views: 61

Erel

B4X founder
Staff member
Licensed User
Longtime User
I have selected both okhttputili and okhttp libraries.
Not relevant.

This error happens because apps are not allowed to make non-https/ssl/tls requests by default.

Solution: add this line to manifest editor:
B4X:
CreateResourceFromFile(Macro, Core.NetworkClearText)
 
Upvote 0

Zizile

New Member
Not relevant.

This error happens because apps are not allowed to make non-https/ssl/tls requests by default.

Solution: add this line to manifest editor:
B4X:
CreateResourceFromFile(Macro, Core.NetworkClearText)
Thank you so much it is sorted .
 
Upvote 0
Top