@PedroVicente wrote:
I am using the same code as the one in the Facebook sample in my app
https://github.com/sdkbox/sdkbox-facebook-sample
After these calls
sdkbox::PluginFacebook::init(); sdkbox::PluginFacebook::setListener(this);
I get the output
No application token, skip remote config processApplied config '{"ios":{"Facebook":{"debug":"true"},"iap":{"items":{"word_build_word_size":{"id":"word_build_word_size_01","type":"non_consumable"}}}}}'2016-01-24 22:16:36.469 wordbuild iOS[266:14678] Reachability Flag Status: -R ------- networkStatusForFlags 2016-01-24 22:16:36.474 wordbuild iOS[266:14678] Reachability Flag Status: -R ------- networkStatusForFlags 2016-01-24 22:16:36.653 wordbuild iOS[266:14678] cocos2d: surface size: 750x1334
and after calling
sdkbox::PluginFacebook::login();
I get the output
2016-01-24 22:17:53.496 wordbuild iOS[266:14678] Reachability Flag Status: -R ------- networkStatusForFlags 2016-01-24 22:17:53.516 wordbuild iOS[266:14678] FBSDKLog: FBSDKAppEvents Persist: Read 0 event states. First state has 0 events 2016-01-24 22:17:53.517 wordbuild iOS[266:14678] FBSDKLog: FBSDKAppEvents Persist: Clearing 2016-01-24 22:18:09.034 wordbuild iOS[266:14678] FBSDKLog: FBSDKAppEvents: Flushed @ 1453695489, 2 events due to 'Timer' - { "advertiser_tracking_enabled" = 1; "anon_id" = "XZB8EF8C52-1ABD-434D-BE67-9FCD2CA50F65"; "application_tracking_enabled" = 1; event = "CUSTOM_APP_EVENTS"; extinfo = "[\"i2\",\"wordbuildfree\",\"1\",\"4\",\"9.2\",\"iPhone7,2\",\"en_US\",\"CST\",\"AT&T\",375,667,\"2.00\",2,12,7]"; "url_schemes" = "[\"fb908618432484237\",\"fbauth2\"]"; } Events: [ { "event" : { "4_error_code" : "", "_implicitlyLogged" : "1", "_eventName" : "fb_mobile_login_start", "_logTime" : 1453695474, "1_timestamp_ms" : 1453695473497, "6_extras" : "{\"default_audience\":\"friends\",\"tryIntegratedAuth\":false,\"tryFBAppAuth\":true,\"login_behavior\":\"FBSDKLoginBehaviorNative\",\"tryFallback\":false,\"permissions\":\"public_profile\",\"trySafariAuth\":true,\"isReauthorize\":false}", "_ui" : "no_ui", "5_error_message" : "", "2_result" : "", "0_auth_logger_id" : "19BE045B-45F3-4930-A2AC-5708ADFAF8CC" }, "isImplicit" : true }, { "event" : { "4_error_code" : "", "_implicitlyLogged" : "1", "3_method" : "sfvc_auth", "_eventName" : "fb_mobile_login_method_start", "_logTime" : 1453695474, "1_timestamp_ms" : 1453695474379, "6_extras" : "{\"isMessengerAppCanOpenURLSchemeRegistered\":false,\"isURLSchemeRegistered\":true,\"isFacebookAppCanOpenURLSchemeRegistered\":true}", "_ui" : "FBSDKContainerViewController", "5_error_message" : "", "2_result" : "", "0_auth_logger_id" : "19BE045B-45F3-4930-A2AC-5708ADFAF8CC" }, "isImplicit" : true } ] Flush Result : Success
The browser shows up with the login page, but after password entry it gets stuck in a blank screen
Any idea of what could be the issue? Thanks[EDIT][SOLVED]
I forgot to add the AppController.mm changes explained in
Posts: 1
Participants: 1