I am trying to integrate facebook login with firebase, into expo app for android only. I followed all the facebook sdk setup, its integration with firebase, and putting the dependencies in android as mentioned here and here.
On trying to build, throws error:
PROJECT_DIR/node_modules/react-native-fbsdk-next/plugin/build/withFacebook.js:13
throw new Error('missing appID in the plugin properties');
Closing this, as issue resolved. Required minor change in app.json file (required fbsdk-next, and its object to be wrapped up in an array). Now login working fine.
🐛 Bug Report
I am trying to integrate facebook login with firebase, into expo app for android only. I followed all the facebook sdk setup, its integration with firebase, and putting the dependencies in android as mentioned here and here. On trying to build, throws error:
To Reproduce
Put details in app.json
In android/app/build.gradle in dependencies
implementation 'com.facebook.android:facebook-android-sdk:[8,9)'
In AndroidManifest.xml under application
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
In strings.xml
and login code from here
Expected Behavior
App should build successfully
Code Example
Code from here
Environment
Expo SDK 51.0.28 react-native 0.74.5