Category "firebase"

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

Firestore Paging Adapter- How to know if query returns 0 results

I'm using firestore paging adapter to populate my RecyclerView with data from Firestore, if collection in Firestore is empty I would like to show a TextView to

firebase-ui-auth firebaseui.auth is undefined

I'm trying to get firebase-ui-auth to work. I pasted what the documentation says to paste into my code (Found here): // Initialize the FirebaseUI Widget using F

PHP script send scheduled firebase notification

I need to schedule the push notifications that offered by firebase cloud messaging by using a PHP code without cron job. I'm currently using this code to push n

UseEffect API Request not displaying on page load

Apologies in advance if similar questions like this have already been answered. I have tried everything, but still cannot figure out why I am experiencing this

Firebase-admin Firestore node.js share logic with modular v9 js sdk

What is the recommended way to share Firestore api logic (between the admin node.js and the js web) when upgrading to the web v9 modular sdk? The way I did it b

ERROR: error fetching storage source: generic::unknown... When deploying GCP Cloud Function via GitHub Actions

I'm deploying a Firebase Cloud Function via this GitHub Action. When I deploy from my own machine using a service account it works fine. When running the Action

Why I need to press Login button 2 times then it will fetch the user data from firestore?

I am new to react-native and firebase authentication also firestore database. Basically here I would like to implement 3 different types of user which is buyer,

Trying to get the dynamic link that opened the app on Android 12 gives incomplete link

I am creating a share button for a post on the feed. I am generating a unique link using Firebase Dynamic Links with a custom parameter at the end. On Android 1