0

I'm stuck on this problem for days and can't seem to find a solution!

I'm using Expo managed react native project, trying to use facebook login for authentification with firebase.

Followed this guide on setting it up: https://rnfirebase.io/auth/social-auth#facebook

Everything works fine, except no email is being returned. Also, email field in firebase auth shows up empty.

empty email field

I'm calling logInWithPermissions like this and requesting two permissions 'public_profile' & 'email'

const result = await LoginManager.logInWithPermissions([
    'public_profile',
    'email',
  ]);

Then i noticed that 'email' permission isnt even asked here? only asks for name and profile pic permission

what could be wrong here? im totaly out of ideas :/

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy