Open ghost opened 5 years ago
I'm trying to implement Firebase Facebook login but it throws an error says like so.
PlatformException(sign_in_failed, FIRAuthErrorDomain, An internal error has occurred, print and inspect the error details for more information.)
I enabled Facebook method and paste code in plist. Do you have any idea?
Code
try { final FacebookLogin facebookLogin = FacebookLogin(); final result = await facebookLogin.logInWithReadPermissions(['email']); switch (result.status) { case FacebookLoginStatus.loggedIn: final FirebaseUser user = await FirebaseAuth.instance.signInWithFacebook(accessToken: result.accessToken.token); print(user.uid); break; case FacebookLoginStatus.error: print('ERROR'); break; default: break; } } catch (e) { print(e); }
Did you ever figure this out? I get the same error.
Unfortunately no:( I ended up not using facebook login.
I haven't tried it, but I would take a look into:
I'm trying to implement Firebase Facebook login but it throws an error says like so.
I enabled Facebook method and paste code in plist.
Do you have any idea?
Code