I am trying to use Facebook Auth for my firebase react native project and I am running into this TypeError at the InitalizeAsync method.
import * as Facebook from 'expo-facebook';export const loginWithFacebook = async () => { await Facebook.initializeAsync('ID_OF_APP'); const {type, token}: any = await Facebook.logInWithReadPermissionsAsync({ permissions: ['public_profile', 'email'], });
I've been trying to troubleshoot this for the last day or so.
ID_OF_APP is only in the question...not my actual code (for the sake of making this question easier to understand to future viewers).