You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a friebase project in development mode i am creating a react native application , auth is working fine but firestore is not working as expected ,
when i use the same code in docs " inserting data to firestore...." it insert it and when i make a call to db with "getDoc" function it return the doc that i saved , the probleme is yesterday i was not able to connect to the firestore but today i can and it worked but the probleme now is the data not appearing in my firestore dashboard im very confused, i hope i will find the soltion of this probleme .
Relevant Code:
// firebase.js :import{initializeApp}from'firebase/app';import{getFirestore}from'firebase/firestore';import{getAuth}from'firebase/auth';constfirebaseConfig={//firebase config here};constapp=initializeApp(firebaseConfig);exportconstauth=getAuth(app);exportconstdb=getFirestore(app);//====================//getting the data from firestore try{constcitiesRef=collection(db,'cities');constsnap=awaitgetDoc(doc(citiesRef,'SF'));if(snap.exists()){console.log('snap existe');}else{console.log('snap not existe');}}catch(error){console.log(error.message);}
The text was updated successfully, but these errors were encountered:
Hi @YunsGeek, thanks for filing. Since it looks like this issue is related to the new one you've just provided with extra details. I'll be marking this one as a duplicate and close this for better tracking. We can continue investigating this on #5836. Thanks
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
i have a friebase project in development mode i am creating a react native application , auth is working fine but firestore is not working as expected ,
when i use the same code in docs " inserting data to firestore...." it insert it and when i make a call to db with "getDoc" function it return the doc that i saved , the probleme is yesterday i was not able to connect to the firestore but today i can and it worked but the probleme now is the data not appearing in my firestore dashboard im very confused, i hope i will find the soltion of this probleme .
Relevant Code:
The text was updated successfully, but these errors were encountered: