Category "firebase"

messaging.onBackgroundMessage is not getting called in web

I have implemented FCM in push i want to redirect to my screen on click of push notification when app is in background. It is redirecting to my webpage but mess

Missing required module 'Firebase' for Unit test

i added Unit test target to existing project, when i @testable import Product_Module_Name in test class i am getting Missing required module 'Firebase' i am u

Is it safe to use uid to store data in firebase database? [duplicate]

I plan on creating an application on flutter that uses firebase auth and cloud firestore. My plan is to create a user and the use the user's u

After refresh, firebase Auth current user returns null

Here is my code on profile page, this works fine first time when i redirect from login method of AuthService const user = firebase.auth().currentUser; if (us

Firebase AppCheck when working with Emulator on localhost

How are developers working with Firebase App Check when developing locally using the emulator on localhost? Are you disabling App Check on localhost entirely? O

auth is not a function

I'm trying to do a simple login form, and Firebase auth give me this error TypeError: firebase__WEBPACK_IMPORTED_MODULE_1_["default"].auth is not a function. (

Firebase emulator - provide custom name/path to runtimeconfig.json

Is there a way to provide .runtimeconfig.json location though a command line? Can't find any info on that. Something like below? firebase emulators:start --runt

App Check from Firebase in Flutter doesn't work

I'm trying to use App Check from Firebase with Flutter (on Android only for now), but the documentation is just terrible and I don't understand the errors I get

Firebase TypeError: Cannot read properties of null (reading 'indexOf')

When I console.log(docSnap) I'm getting a firebase error, see in the below image. I have tried all the solutions but none of them worked. useEffect(() =>

Firebase Auth getCurrentUser() retrieves a deleted user

Hello and thanks for your time. I've been working on an android app using Firebase. I've set up Firebase Authentication and the user can register with email a

firestore query filter by date in firebase console

I am wondering how to filter firebase firestore by date field, as I can't see data type other than String, Number, Boolean As below, please advice if someone fi

firestore query filter by date in firebase console

I am wondering how to filter firebase firestore by date field, as I can't see data type other than String, Number, Boolean As below, please advice if someone fi

Flutter iOS Terminates State get data from firebase push notification

How we can get the data of push notification to save it in our local database using flutter iOS while in terminated state? We are using firebase admin-sdk to se

How to use delete request with axios in react project and Firebase?

I need to delete the element but don't know how to get that specific element! This is the structure of data on Firebase And this is the code: import React, {us

Create Document in Google Cloud Firestore Using v1 Client Library Wrapper

I am trying to create and add a document to GCP Firestore using the .Net library for GCP: Google.Cloud.Firestore.V1 , however, I cannot figure out how to use th

Run two function projects at the same time

Can we run two Firebase Function projects with the emulator at the same time? We want to test the interaction of two Firebase Function projects locally. We ha

Getting "app is not defined" error after applying "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)." error fix

At first I was getting the "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)." error. I saw online that wrapping firebase initializat

'TypeError: coment.map is not a function' with realtime database of firebase

I wrote this code to receive all comments from the database and then print them one by one in the console. The code is: import { getDatabase, ref, child,

How to get a full screen notification from FCM?

I am building a home automation project that has a fire sensor that will write to Firebase Database if there is a fire detected, then from that point I need to

Firebase Trigger email and SMTP connection URI using GMAIL

I am trying to set up TRIGGER EMAIL to send emails through my GMAIL account. My problem is definitely in the SMTP connection URI because the same configuration