expo facebook login error


TypeError : undefined is not an object (evaluating ‘_expo.default.Facebook’)
please help


Hey @abhinavv,

It’s nearly impossible to help you without seeing code. Can you provide a code snippet containing all the relevant code that is throwing this error?




@adamjnav thanks for replying !
I am getting the error in official snippet at google expo documentation which is …thia code below .
async function signInWithGoogleAsync() {
try {
const result = await Expo.Google.logInAsync({
androidClientId: YOUR_CLIENT_ID_HERE,
scopes: [‘profile’, ‘email’],

    if (result.type === 'success') {
      return result.accessToken;
    } else {
      return {cancelled: true};
  } catch(e) {
    return {error: true};

After replacing the android client id the error was .
TypeError :- not an object evaluating (_expo.default.google) .
This error i was geeting when i implementing the google login with expo cli
Thanks again


Sorry, @abhinavv.

I’m a bit confused, is your issue with the Facebook log in or Google?


@adamjnav i got it solved please change some details on your forum of facebook expo document and google expo document the method says to import Expo but doing that i get the error of undefiend object it should be import Facebook or import Google from ‘expo’