Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Unity - iOS] Facebook Login cannot complete with present of AppsFlyerSDK

See original GitHub issue

[Condition] Facebook SDK for Unity v8.0.0 AppsFlyer SDK for Unity v6.0.3 Unity 2019.4.6f1 iOS device (tested on iOS 14.0.1)

[Step to reproduce]

  1. Create a unity project
  2. Import and setup Facebook SDK for login
  3. Import AppsFlyer SDK
  4. Build project and run on iOS device
  5. Do the login with Facebook. The main app will enter background mode, Facebook app appears.
  6. After the login, the main app returns to foreground and sticks there because Facebook login pop up does not close.
  • The behavior is similar to this clip. (This clip not mine. I get it on internet)

[Temporary Fix] Facebook SDK works normally when I: Option 1: Remove AppsFlyer SDK Option 2: Downgrade to AppsFlyer SDK v5.4.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11

github_iconTop GitHub Comments

wesfieldjcommented, Oct 15, 2020

@shniqq we are working on a fix for this. We will try to have something out by the end of next week. (22/10)

wesfieldjcommented, Oct 22, 2020

@shniqq We released v6.0.7 #46 with an option to swizzle automatically by adding a flag in the info.plist.

Check out the doc on how this can be done here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS: Facebook SDK error
Hello I am working with Unity 2020.1.2f1, but everything here was checked also with 2019.4.7. And the latest Facebook SDK (7.2.1)
Read more >
How to run AppsFlyer SDK Integration Test for a Unity ...
You cannot pass this test on free plan for some reason. I've found it after two days by connecting device via logcat and...
Read more >
Facebook SDK for Unity - Meta for Developers
The Facebook SDK for Unity provides a comprehensive collection of Facebook's social features, giving players of your Unity game the ability to share...
Read more >
Facebook SDK for Unity FAQ & Troubleshooting
How can I test Facebook functionality in the Unity Editor? How can I test on a platform simulator? Troubleshooting. Invalid Key Hash Error...
Read more >
Unity SDK Integration | Hello guys, I can't get my email ...
I am using the latest version of unity and the latest Facebook sdk. On iOS it does complete. Anyone having the same problem?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found