All Questions
9,155
questions
0
votes
1
answer
13
views
How to make React-Email & Resend work with Firebase Cloud Functions
I have a Nextjs app that utilizes both React-Email, Resend & Firebase Cloud Functions. The directory structure looks like this:
I want to send an email to a user whenever a doc is created in &...
0
votes
2
answers
28
views
how to get specific object from array in firestore using reactjs
I can't get spefic object out of array that includes many objects. It's "messages" array that containes objects.
I used a method below but it returned nothing.
const [userId, setUserId] = ...
0
votes
2
answers
40
views
React and Firebase: Quota exceeded on the first day
So, I created this small app to practice with Firebase and on the first day I get "Quota exceeded" error. I'm pretty sure that I didn't send that much requests on my own, there must be ...
0
votes
1
answer
40
views
Firebase Error: export 'default' (imported as 'firebase') was not found in 'firebase/compat/app' (module has no exports)
I recently upgraded Firebase to 10.12.4 and now have this error which isn't allowing me to compile.
import firebase from 'firebase/compat/app';
import "firebase/compat/auth";
import "...
0
votes
0
answers
29
views
Firebase notifications PWA (cloud messaging)
i wanted to ask if someone else did some implementation on PWA push notifications.
I was trying to implement it via cloud messaging and everything is working but only on some devices and its kinda ...
-1
votes
0
answers
20
views
Lagging before Firestore fetching Collection [closed]
I'm trying to fetch roles and render some elements of the pages based on the roles of the user who logged in, but it works once; just after the webpack is compiled. Whenever I reload or log out login. ...
0
votes
0
answers
23
views
My fetch requests are stuck on pending and never fulfill a response or make it to the backend
I'm making an application using react, node and firebase and am trying to connect my backend to my front end. I have developed out backend routes and api but when I try to make requests from the front ...
0
votes
0
answers
22
views
How to update Firebase storage data from frontend in react js [closed]
I am fetching data from the firebase storage and storing that data in redux.
I also display the table on frontend and there is a button on every td. When user click on update button, then an modal is ...
0
votes
1
answer
28
views
NextJs error - Argument of type 'object | undefined' is
used firebase for authentication
error is:
Argument of type 'object | undefined' is not assignable to parameter of type 'SetStateAction<string>'.Type 'undefined' is not assignable to type '...
0
votes
0
answers
13
views
How do I resolve firebase error that pops when deployed on vercel? [closed]
I made a web app using React and Firebase. It works smoothly when I run it locally, but as soon as I deployed it to Vercel, the authentication stopped working and a Firebase error pops up.
I deployed ...
1
vote
1
answer
34
views
[TypeError: Cannot read property 'indexOf' of undefined] [closed]
I'm trying to delete a document from fire store one by one based on the ID but the code is not working as expected.
const Charities = () => {
const [userData, setUserData] = useState([]);
{/...
0
votes
1
answer
31
views
Firestore snapshot realtime paging
currently i'm working on a Chat project using ReactJS and Firestore. Let say that i have a subcollection messages which contains multiple docs of message. I have a onSnapshot listener to listen newest ...
1
vote
0
answers
46
views
React app won't write to Firebase Realtime Database
My React app won't write to my Firebase Realtime Database. I am doing everything exactly as the Firebase tutorials say but nothing. No error messages in the console or requests in the network tab ...
0
votes
1
answer
55
views
How to Handle Firebase Notifications in a Web App Embedded in a React Native WebView?
I'm working on a project where I have a React web app that is embedded within a React Native WebView. I'm using Firebase Cloud Messaging (FCM) for handling notifications. The web app works fine when ...
-1
votes
0
answers
29
views
Profile header not showing ( user not found ) error
so i have created a instagram clone in which i go to the profile section its saying user not found but in my code when i remove the "finally" block its showing only the skeleton but it ...