roughike / flutter_facebook_login

A Flutter plugin for allowing users to authenticate with native Android & iOS Facebook login SDKs.
BSD 2-Clause "Simplified" License
404 stars 332 forks source link

No login window is opened on IOs and status instantly is "cancelledByUser" #270

Open Tobi696 opened 4 years ago

Tobi696 commented 4 years ago

Everything is fine on Android, but on IOs, the login windows doesn't open, the errorMessage and token are null and the status is cancelledByUser.

Tobi696 commented 4 years ago
final FacebookLogin facebookLogin = FacebookLogin()..loginBehavior = Platform.isIOS ? FacebookLoginBehavior.webViewOnly : FacebookLoginBehavior.nativeWithFallback;

This is how I solved it but I'm sure there should be a better solution.

leventkantaroglu commented 4 years ago

Same issue but not worked for me