Category "firebase"

Firebase: Firebase App named '[DEFAULT]' already exists with different options or config (app/duplicate-app)

I am a newbie, and I am stuck. I don`t know what to do. My browser is showing that fire store is not able to connect to the backend. This is my code : impor

FirebaseInstanceId Token retrieval failed SERVICE_NOT_AVAILABLE

I'm working on an android app, it uses Firebase Authentication, Database and Storage. It was all working fine until this error message started to show up in log

Using Firebase Auth & gAPI?

How do I get Firebase Auth to work with Google drive api? Using react, I have firebase auth working and google drive (gapi) both working individually but am str

When sorting by multiple fields in Firestore with startAt and endAt not working correctly

I am doing a document filter functionality. The problem is that when I receive a filter for the "max_players" and "name" fields, it returns an empty array when

How can I have onclick functionality for my CollectionView cells?

I want to make it so that when I tap on a CollectionView Cell, it segues to another view. I also want to pass a user ID to this view so I can query the database

LateError (LateInitializationError: Field 'documentSnapshot' has not been initialized)

I am using Cloud Firestore in my Flutter application and I am facing this issue in app: LateError (LateInitializationError: Field 'documentSnapshot' has not bee

Flutter Firebase Realtime Database write/update to multiple nodes at once

I'm using Firebase as the backend to my Flutter project. I need to write to multiple nodes in one transaction. Now I have: await (_firebaseDatabase .ref

Synchronously iterate through firestore collection

I have a firebase callable function that does some batch processing on documents in a collection. The steps are Copy document to a separate collection, arch

Error APNS device token not set before retrieving FCM Token for Sender ID

I am receiving messages from firebase for notifications with APNs. In firebase, I have the certificate of APNs key, with the same id in the Xcode project in Fir

gradle not syncing when adding firebase to android studio

So I'm trying to add the Firebase SDK to my Android Studio app as per the instructions from the Firebase website (see picture). Adding the line classpath 'com

Why is my React component is rendering twice?

I don't know why my React component is rendering twice. So I am pulling a phone number from params and saving it to state so I can search through Firestore. Eve

com.google.android.gms.common.SignInButton button not displaying in design using Firebase

Connected Firebase with my Android project and here is my build.gradle file code: apply plugin: 'com.android.application' android { compileSdkVersion 26

How to use SignInWithRedirect with GoogleAuthProvider?

I am creating a Vue App (Vue version 2). I am using Firebase (Web version 9) as a database and for the authentication. I am using Google as Sign in method. On d

Why is data retrieved from Firestore returning empty array when there are subcollections present?

I am trying to retrieve data from my the my firestore database using angularfire2. This is what my current database looks like. I have a users collection that c

Can firebase messaging services can be android:exported="false"?

Like to confirm if we can set android:exported="false" for instance id service and messaging service. I tested by keeping android:exported="false" and notifica

Firebase Cloud Functions Cannot find module error in logs

I am trying to Serve Dynamic Content with Cloud Functions and NextJS. Everything is working as expected locally when I run firebase serve. But when I run fire

How do I get all documents in a Cloud Firestore collection using Version 9 of the Modular Web SDK?

I am trying to get all documents in a collection using version 9 of the Web SDK. But I am getting this error: "TypeError: querySnapshot.map is not a function"

AngularFireModule has not been provided using v7.0.1 and new method of initializing the firebase app

I'm attempting to connect to the firebase emulator within an integration test, using the new AngularFire API (>v7) import { TestBed } from '@angular/co

Dynamic links / universal links not working in cold start

I use firebase dynamic links. They work perfectly fine when the app is in background and I use the application continue userActivity function. However if I cli

Why use UID in Firebase? Should I use it

I know UID is used because it is unique. But in my app, all of them are registered with Google ID, Google ID is also unique. Should I use UID?