iOS Question Default browser does not open

tsteward

Well-Known Member
Licensed User
Longtime User
The attached code does not open the default browser to the url. In fact nothing happens.
Do I need to add permissions or something?

B4X:
If Main.App.CanOpenURL("https://locks.com/Privacy-Policy.html") Then
    Main.App.OpenURL("https://locks.com/Privacy-Policy.html")
End If
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
It should work. Are you sure that the code is actually executed?

If the first line returns False then add #QueriesSchemes:
 
Upvote 0
Top