Hiya.
I’ve been trying to get facebook login to work on a new iOS project. On Android it works, but on iOS login does not trigger a popup.
When I press the button which triggers a login if the user is not logged in yet, the following events are triggered.
Events: [
{
"event" : {
"4_error_code" : "",
"_implicitlyLogged" : "1",
"7_logging_token" : "",
"_eventName" : "fb_mobile_login_start",
"_logTime" : 1569424371,
"1_timestamp_ms" : 1569424370870,
"6_extras" : "{\"trySafariAuth\":true,\"login_behavior\":\"FBSDKLoginBehaviorBrowser\",\"permissions\":\"public_profile\",\"default_audience\":\"friends\",\"tryFBAppAuth\":false,\"isReauthorize\":false}",
"_ui" : "RootViewController",
"5_error_message" : "",
"2_result" : "",
"0_auth_logger_id" : "[Redacted]"
},
"isImplicit" : true
},
{
"event" : {
"4_error_code" : "",
"_implicitlyLogged" : "1",
"7_logging_token" : "",
"_eventName" : "fb_mobile_login_method_complete",
"_logTime" : 1569424371,
"1_timestamp_ms" : 1569424370892,
"6_extras" : "{\"isMessengerAppCanOpenURLSchemeRegistered\":true,\"isFacebookAppCanOpenURLSchemeRegistered\":true,\"isURLSchemeRegistered\":true,\"implicit_cancel\":true}",
"_ui" : "RootViewController",
"5_error_message" : "",
"2_result" : "cancelled",
"0_auth_logger_id" : "[Redacted]"
},
"isImplicit" : true
},
The facebooklistener function ‘onLogin’ is also called. with a login status of FALSE and a message of ‘cancelled’.
SDKBOX import went without flaw, so I wonder if I’m missing something somewhere.