Category "firebase"

add collection to firestore with kotlin problems

I am trying to understand and use firebasefirestore from android studio with kotlin. I have been following tutorials from the official docs, and from udemy and

Every time i refreshes my app it logs out even though i've used this onAuthStateChanged. Below is my code of loading screen

I'm using this screen to navigate between two screens by using the onAuthStateChanged but still every time It refresh the app it logs out even though I'm not lo

How to display auth errors with p tag

how to display to user an auth error differently than with alert? For example: User will type a bad password, and a p tag will tell him, that he typed uncorrect

How can I write this function into my existing code, Keep getting a promise rejected error

Hi I am trying to Include the function below into my existing code so that after the users are filter based on matching city they will be filtered by the most m

ANR at android.os.MessageQueue.nativePollOnce

We are seeing this ANR in different parts of our app. Wanted to understand what causes this ANR? main (native): tid=1 systid=31940 #00 pc 0x5431c libc.so #01 p

REACT JS FIREBASE FIRESTORE- how can i update my field in a document?

here is my manageexam.jsx file this is where the update happen when i click the manage button on the table. i want to update a specific document id (3BelYq7lMxR

Check if item is not in a Firebase document

I have a field in my Firestore documents that happens to be an array of user IDs, this field is called "tempID", I want to run a query that return all documents

Subscribing to firebase topic do not filter push message

Context I am developping an Angular web application using firebase messaging. I configured firebase successfully (I guess) and I now subscribe to a "users" topi

DELETE operation javascript fetch() with REST API firebase

I use the following API request in order to delete all texts (so called cps) of one section (one section contains many cps) await fetch(`https://12345-default-r

Firebase App Distribution - No "install" button on Google Play window

I am deploying an aab with Firebase App Distribution to testers in my company for the first time. Devices not any worries while others ... Some are blocked on t

Flutter/Firebase: build page depending on database

I'm trying to build a simple card game app to play online with friends using Flutter and Firebase. The way it works (for now), is we have lobbies which players

Not able to Initialize Firebase APP inside script module in HTML

I am working on a minimal (proof of concept) project with Preact and Firebase. A single HTML file, bundler/transpiler free thanks to HTM as JSX replacement. Her

Why getting firebase is not defined error?

Here's the code for the firebase.js file where I'm getting this error in spite of strictly adhering to the official documentation of Firebase. firebase.js impor

@firebase/firestore: Firestore (8.6.3): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds

I am working on react-native app, i couldn't able to connect firebase with react-native. @firebase/firestore: Firestore (8.6.3): Could not reach Cloud Firestor

Firebase 502 Bad Gateway on Storage dashboard

Recently our downloads through Firebase Storage started failing with a 502 Bad Gateway error. We first noticed this in our apps, but later found out that the sa

Failed to log metrics

There is no Buildtime or runtime error on my code. however, when I run the code it says succeeded and a black screen comes up. I get the following on my console

Function stops without any logs in firebase (sometimes works well.. sometimes partly) - confused

Can you please share your thoughts or experience why this can happen: I have a folder on firebase cloud with a bunch of images (jpeg, png). It can contain from

Dart snapshot generator failed with exit code -9

Debugging mode working well but when I tried to run it as release mode or building apk it's not working. Tried all things that I could but it's not working (Cre

How can I update nested array in Firestore?

Is there a way to update the likes and replies with firebase firestore? I have reached that moment when I press on like on a single comment but I have only the

How to set data in Firebase .onSnapshot()

I'm trying to set data with this function and its not setting the variable. How can I set information for outside use with this? Here is my code const docRef =