iOS Question Main.App.OpenURL do not open anything

Pendrush

Well-Known Member
Licensed User
Longtime User
At least on iOS v18.1 code below do nothing.
B4X:
#QueriesSchemes: https

If Main.App.CanOpenURL("https://www.example.com") Then  ' The result is TRUE
    Main.App.OpenURL("https://www.example.com")         ' This line is executed but nothing happened
End If

Tested on real device and simulator.

Any ideas?
 

Pendrush

Well-Known Member
Licensed User
Longtime User
Well it's a big project with a few libs, maybe something interfere with something, but I'm sure it was OK on v17.x.
I will investigate. Thank you for response.
 
Upvote 0

Pendrush

Well-Known Member
Licensed User
Longtime User
No, did not work.
Local builder with XCode v16.1
Example attached to post.
 

Attachments

  • Test1.zip
    5.6 KB · Views: 23
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Works on my iPhone with 18.1.1 and compiled with the hosted builder. And does not work in the IOS simulator with ios 18.1

But it also doesn't work on my iPhone with 18.1.1 when I compile it via my local builder.
So the fault lies with the local builder.

xCode Version 16.1
 
Upvote 0
Top