Hello,
I am trying to run the following code
which - in theory - if there is no FB app installed - should be opening the page in the browser.
Since on the device there is the app, I get this follwoing error
I also tried to add to register the scheme in the header of the app but nothing happened....
Thanks for any help!
I am trying to run the following code
B4X:
Sub start_facebook_Click
If (Main.App.CanOpenURL("https://www.facebook.com/xxxxx/")) Then
Main.App.OpenURL("https://www.facebook.com/xxxxx/")
End If
End Sub
which - in theory - if there is no FB app installed - should be opening the page in the browser.
Since on the device there is the app, I get this follwoing error
B4X:
-canOpenURL: failed for URL: "fb://profile?id=xxxxx" - error: "This app is not allowed to query for scheme fb"
I also tried to add to register the scheme in the header of the app but nothing happened....
B4X:
#PlistExtra:<key>LSApplicationQueriesSchemes</key><array><string>fb://</string></array>
Thanks for any help!