Questions tagged [expo-facebook]

4 questions
2
votes
1 answer

null is not an object (evaluating 'LoginManager.logInWithPermissions')

When I try to login to Facebook in expo android app, getting the following error null is not an object (evaluating 'LoginManager.logInWithPermissions') const SignInwithFB = async () => { try { await…
1
vote
1 answer

React-native expo-facebook 12.2.0 with Android 31 error at login: FLAG_IMMUTABLE or FLAG_MUTABLE must be specified

Upgrading Android version to 31 I get a new error with expo-facebook: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. I tried to add implementation…
Simon
  • 6,025
  • 7
  • 46
  • 98
0
votes
0 answers

Is it possible to use "expo-facebook" with "Firebase JS SDK" and authentication?

I want to ask if it is possible to use the "expo-facebook" package with "Firebase JS SDK" and authentication. On the internet I found mostly with "react-native-fbsdk-next" but it is a native package.
0
votes
0 answers

Facebook login with Expo

Getting an undefined error for the expo Facebook object even though the console log clearly shows otherwise. import * as Facebook from 'expo-facebook'; export const fbLogIn = async () => { console.log("Facebook", Facebook.initializeAsync); //…
Adrian Bartholomew
  • 2,506
  • 6
  • 29
  • 37