capacitor-community / facebook-login

Facebook Login support
MIT License
98 stars 52 forks source link

App Hungs when close embedded navigator on Android (Video example) #132

Closed rgarciadelongoria closed 1 year ago

rgarciadelongoria commented 1 year ago

Describe the bug When close embedded navigator App hangs until press native back button.

To Reproduce Steps to reproduce the behavior:

  1. Call to await FacebookLogin.login({ permissions: FACEBOOK_PERMISSIONS });
  2. Wait for navigator open
  3. Close embedded navigator
  4. App hungs
  5. Press back button
  6. App runs

In Emulator or Real device, Android +30 or others.

ezgif-3-4ddccb86a0

Thanks for helping!

rgarciadelongoria commented 1 year ago

Fix this updating facebook-android-sdk version to 16.0.0

rgarciadelongoria commented 1 year ago

Change merged in versión 5.0.0

I update my personal project to this versión and the bug has gone.

juanmaldonadodev commented 10 months ago

@rdlabo @stewones We have a problem with plugin version for capacitor 4. Login is not returning any response when using com.facebook.android:facebook-login:14.1.0 in Android. The fix is present here: https://github.com/facebook/facebook-android-sdk/blob/main/CHANGELOG.md#1411

Can you release a new version for capacitor 4 that updates the android sdk?

Is a bit hard to find the problem because login process on facebook works well but does not return anything. Just happen if login is done by web from Android because the user has not the Facebook app installed.