Skip to content

Problem with Facebook SDK and Invite SDK #75

Closed
@comtaler

Description

@comtaler

I am experiencing the same problem as reported in issue #32 with the latest SDK. After connecting to facebook, it stays on the browser with a blank page and it does not return.

Unity version: 5.5.1p2
Facebook SDK version: 7.9.4
Invite SDK version: 3.0.1

I tested it with the sample invite project. Here is the console log:

2017-04-07 11:02:39.611 appname[337:45401] -> registered mono modules 0x100dba2f0
-> applicationDidFinishLaunching()
2017-04-07 11:02:39.781 appname[337:45401] Metal GPU Frame Capture Enabled
2017-04-07 11:02:39.781 appname[337:45401] Metal API Validation Disabled
-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Init: screen size 1080x1920
Initializing Metal device caps: Apple A8 GPU
Initialize engine version: 5.5.1p2 (72bb63a39d55)
UnloadTime: 1.119500 ms
Setting up firebase...
UIHandler:DebugLog(String)
UIHandler:InitializeFirebase()
UIHandler:Start()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-04-07 11:02:42.400 appname[337] <Notice> [Firebase/Analytics][I-ACS023007] Firebase Analytics v.3700000 started
2017-04-07 11:02:42.405 appname[337] <Notice> [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2017-04-07 11:02:42.408 appname[337] <Notice> [Firebase/Analytics][I-ACS003007] Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2017-04-07 11:02:42.441 appname[337] <Warning> [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2017-04-07 11:02:42.460 appname[337] <Notice> [Firebase/Analytics][I-ACS023012] Firebase Analytics enabled
Invites initialized
UIHandler:DebugLog(String)
UIHandler:Start()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Using Facebook Unity SDK v7.9.4 with FBiOSSDK/4.17.0
Facebook.Unity.CompiledFacebookLoader:Start()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

No Invite or Deep Link received on start up
UIHandler:DebugLog(String)
Firebase.Invites.Listener:TrySendCachedMessage()
Firebase.AppUtil:PollCallbacks()
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

-> applicationWillResignActive()
2017-04-07 11:03:07.470 appname[337:45401] DEBUG: OpenURL(fb1318350838212620://authorize/#state=%7B%22challenge%22%3A%223tw1qqHVuUAvW8bcpDy29vayqGk%253D%22%2C%220_auth_logger_id%22%3A%22ED7D5F5D-2919-4E10-8CBC-3F2250B9628E%22%2C%22com.facebook.sdk_client_state%22%3Atrue%2C%223_method%22%3A%22sfvc_auth%22%7D&granted_scopes=user_friends%2Cemail%2Ccontact_email%2Cpublish_actions%2Cpublic_profile&denied_scopes=&signed_request=<signed request code>
OpenURL(fb1318350838212620://authorize/#state=%7B%22challenge%22%3A%223tw1qqHVuUAvW8bcpDy29vayqGk%253D%22%2C%220_auth_logger_id%22%3A%22ED7D5F5D-2919-4E10-8CBC-3F2250B9628E%22%2C%22com.facebook.sdk_client_state%22%3Atrue%2C%223_method%22%3A%22sfvc_auth%22%7D&granted_scopes=user_friends%2Cemail%2Ccontact_email%2Cpublish_actions%2Cpublic_profile&denied_scopes=&signed_request=<signed request code>
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-04-07 11:03:07.480 appname[337:45401] DEBUG: Method not cached for class FIRA_UnityAppController-1491588162408 selector application:openURL:options:.
Method not cached for class FIRA_UnityAppController-1491588162408 selector application:openURL:options:.
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

-> applicationDidBecomeActive()
Fetch Pending Invites
Firebase.Invites.FirebaseInvitesHandler:OnApplicationFocus(Boolean)
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions