skip to Main Content

React native – Firestore Could not reach Cloud Firestore backend: code=permission-denied

Im using Firebase with React-Native and Expo. Firebase.js import { initializeApp } from "firebase/app"; import { getFirestore, initializeFirestore } from "firebase/firestore"; import { getAuth } from "firebase/auth"; import Constants from "expo-constants"; const firebaseConfig = { apiKey: Constants.manifest.extra.apiKey, authDomain: Constants.manifest.extra.authDomain, projectId:…

VIEW QUESTION

Firebase extension Error : emulated services will use a demo configuration and attempts to access non-emulated services for this project will fail

I am building an extension by reading this official documentation and getting error in 4 step, while start emulator in firebase extension firebase emulators:start --project=demo-test. Error : C:UsersRAJENDRA A VERMADesktopFirebase Extensionrtdb-uppercase- messagesfunctionsintegration-tests>firebase emulators:start --project=demo-test i emulators: Starting emulators: functions, database,…

VIEW QUESTION

Firebase – Update Kotlin Flow on value change

I'm using this code to get my user from the Firebase Realtime Database in my Android app: private var _user = getUser(firebaseAuth.currentUser?.uid ?: "NULL") .stateIn(viewModelScope, SharingStarted.WhileSubscribed(), null) The idea is that I can get flow updates about the user from…

VIEW QUESTION
Back To Top
Search