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

tsteward

Well-Known Member
Licensed User
Longtime User
Sorry that was just a dummy url. I didn't want the real one there. I'm assuming its my device for now until I get it out of sandbox mode
 
Upvote 0
Top