Describe your issue here
import firebase from '@react-native-firebase/app';
...
console.warn(firebase.app().name);
you attempted to use a firebase module that is not installed on your android project by calling firebase.app()
I'm using RN 0.60.2 and rn-firebase 6.0.1
rn-firebase should autolink right? Why it is asking me to make manual linking?
I have 3 firebase packages in my package.json
"@react-native-firebase/app": "^6.0.1",
"@react-native-firebase/auth": "^6.0.1",
"@react-native-firebase/firestore": "^6.0.1",

Click To Expand
#### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like:
# N/A
#### `AppDelegate.m`:
// N/A
Click To Expand
#### Have you converted to AndroidX? - [x] my application is an AndroidX application? - [x] I am using `android/gradle.settings` `jetifier=true` for Android compatibility? - [ ] I am using the NPM package `jetifier` for react-native compatibility? #### `android/build.gradle`:
// N/A
#### `android/app/build.gradle`:
// N/A
#### `android/settings.gradle`:
// N/A
#### `MainApplication.java`:
// N/A
#### `AndroidManifest.xml`:
<!-- N/A -->
Click To Expand
**`react-native info` output:**
OUTPUT GOES HERE
- **Platform that you're experiencing the issue on**:
- [ ] iOS
- [x ] Android
- [ ] **iOS** but have not tested behavior on Android
- [ ] **Android** but have not tested behavior on iOS
- [ ] Both
- **`react-native-firebase` version you're using that has this issue:**
- `6.0.1`
- **`Firebase` module(s) you're using that has the issue:**
- `6.0.1`
- **Are you using `TypeScript`?**
- `N`
Think react-native-firebase is great? Please consider supporting all of the project maintainers and contributors by donating via our Open Collective where all contributors can submit expenses. [Learn More]
React Native Firebase and Invertase on Twitter for updates on the library.You didn't follow the template
My best advice is to init a sample project using the react-native template to see how a project should be initially built https://invertase.io/oss/react-native-firebase/quick-start/new-project
I think problem is in react-native-navigation v3. For some reason it is not working with RN-Firebase v6.
I'm testing on init sample project. They work independently but together this error occurs.
:thinking: that is unexpected of course. A reproduction repo on github using samples as a base should allow for a fix though
@mikehardy
Here sample repo
https://github.com/rendomnet/firebasernn
Problem with Android version. iOS version I did not tested yet. I deleted my google-services.json from repo.
@rendomnet Did you ever find a solution for this? I'm running into the same issue and can't figure it out.
@WJimmyCook clean cache and restart. As I remember.
I'm getting an error message instead of a warning. I've been following the steps for setup, but no luck - any ideas?
@RiatIO
My best advice is to init a sample project using the react-native-firebase template to see how a project should be initially built invertase.io/oss/react-native-firebase/quick-start/new-project
I having this issue, i tried cleaning cache and still not working, im using react-native 0.6 and expo, i just upgraded to react-native-firebase 6
@potatosenior I'm having the same problem. It's really necessary to eject the project to edit android modules? If yes, whats the point of use Expo?
Edit:
According to this forum expo "doesn't works" with firebase (JS SDK and all others dependencies). So unfortunately I suppose the best solution so far is to run npm run eject and then edit android project files.
@potatosenior I'm having the same problem. It's really necessary to eject the project to edit android modules? If yes, whats the point of use Expo?
Edit:
According to this forum expo "doesn't works" with firebase (JS SDK and all others dependencies). So unfortunately I suppose the best solution so far is to runnpm run ejectand then edit android project files.
I had to go back to react native 5, i didnt find a solution for this, sorry! Expo works very well with firebase (_firebase 5 at least_), i dint have any problem with expo and firebase, just this one, when i tried to update firebase to version 6.
Most helpful comment
I having this issue, i tried cleaning cache and still not working, im using react-native 0.6 and expo, i just upgraded to react-native-firebase 6