invertase / react-native-firebase

🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
https://rnfirebase.io
Other
11.61k stars 2.19k forks source link

[📚] Documentation Issue Title - Keep facing No Firebase App when using realtime database #7855

Closed DevTeamJML closed 4 weeks ago

DevTeamJML commented 2 months ago

Documentation Feedback

import firebase from "@react-native-firebase/database";

const reference = firebase .app() .database('https://..firebasedatabase.app/')

I have follow as above the guide but keep getting

: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp()

Lyokone commented 1 month ago

I'm not reproducing on my end this issue, could you provide a full sample to help debug?

younes0 commented 1 month ago

I reproduced this error when I still had firebase-js RTDB calls. Obviously, error disappeared after replacing all these calls by RNFB. This issue could be closed.

Lyokone commented 4 weeks ago

Closing since this one is stale