-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with @react-native-firebase/auth and Expo: "does not contain a valid config plugin" #5629
Comments
Hi there, Expo support has been contributed by the community, if auth needs a config plugin and doesn't have one, then you will either need to make one (like so #5480), wait until someone does, or use a different workflow. I wasn't under the impression that auth needed a config plugin though? Does it @barthap ? |
As far as I know, the Auth module does not need any custom installation steps. It implies that it doesn't need config plugin to work with Expo. According to the docs:
Just remove the |
@mikehardy This works, thank you! Quick question: which of the react-native-firebase modules do we need to add to plugins in
|
Just those one for normal usage. Basically, if you read in the instructions that you need to add something in AppDelegate.m or build.gradle, it needs a plugin. I just added the App Check module here, and for debug/CI only you may wish to add something in AppDelegate but as it's new and Expo has been very helpfully contributed by @barthap before App Check existed, it does not have a plugin yet. |
Same applies to |
it worked for me. Thanks |
I'm trying to add
@react-native-firebase/auth
to a standard Expo template. I have followed all instructions in the documentation here. But I get this error:Steps to Reproduce
Install @react-native-firebase/app and @react-native-firebase/auth
npm i @react-native-firebase/app @react-native-firebase/auth
Create a Firebase project and add an Android app and an IOS app. Download config files for both (
google-services.json
andGoogleService-Info.plist
). Place these files in the root folder (./my-project
)Add the specified app.json configuration from the documentation.
expo run:android
You should see the error pop up.
Here are my package versions
Package.json
app.json
I have
node v14.17.4
What I've tried to debug
@react-native-firebase/app
and@react-native-firebase/app
to^12.6.1
./my-project
folder and initialising a new appreact-native-vision-camera
. Someone commented how there was an issue with Expo 41 and 42. It said to modify the 'user podfile'. I'm just trying react-native-firebase for the first time, so I don't understand what they mean :/The text was updated successfully, but these errors were encountered: