Closed hakimov-dev closed 3 weeks ago
Hi @hakimov-dev - have you imported @react-native-firebase/app
in your JS code and rebuilt the app?
Yes, i have imported
I cannot recreate. Please provide an mcve to demonstrate bug.
Hello @hakimov-dev,
Are you using a development build? Custom native code cannot be added to Expo Go, if that's what you're using. You need to follow the docs, run npx expo prebuild --clean
and then rebuild the app.
Hope this helps
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
I'm still having this issue still, I already prebuilt the app and have installed all the deps and imported them, but I still have this issue
{
"expo": {
...
"android": {
"googleServicesFile": "./google-services.json",
...
},
...
"plugins": [
"expo-font",
"@react-native-firebase/app",
"@react-native-firebase/auth",
"@react-native-firebase/messaging"
]
}
}
I am facing with the same issue, have you found a solution?
Hey guys. If you have been using the firebase web SDK and decided to move to react-native-firebase, DELETE your firebaseConfig file or whatever you named the file to initialize firebase as it has no use other than creating a conflict with RNF. You don't need to initialize RNF since it gets its configuration from the json file u get from google. This did it for me
No response from OP, a couple of possible solutions have been provided. Please open a new issue if you think you have found a bug.
Issue
I've a problem using that package ther problem:
But i already have installed that
@react-native-firebase/app
what could be the reason ? Btw i'm using that package on expo,package.json
:firebase.json
for react-native-firebase v6: