Questions tagged [react-redux-firebase]

192 questions
3
votes
1 answer

Firebase Firestore Query using react-redux-firebase

service cloud.firestore { match /databases/{database}/documents { match/projects/{project} { allow read: if get(/databases/$(database)/documents/projects/$(project)).data.uid == request.auth.uid; allow create: if…
3
votes
0 answers

Set redux-firestore listener using FieldPath in query

I'm trying to set a listener with redux-firestore that queries firestore documents that has nested properties like this: users.USER_EMAIL.role. I need to be able to insert a variable in the where parameter of the query. I have done this previously…
3
votes
1 answer

Firebase query second level with react redux firebase

I have a firebase database who contains all purchase of my users purchase userId1 purchaseId1 purchaseId2 purchaseId3 userId2 purchaseId1 purchaseId2 purchaseId3 A purchase object (ex:…
2
votes
1 answer

firebase.database() is not a function error in react

To give some context i am trying to setup my react app with redux-toolkit and react-redux-firebase (need firebase realtime db). i followed the react-redux-firebase readme to create this file import React from "react"; import ReactDOM from…
pg07
  • 137
  • 2
  • 11
2
votes
0 answers

Queries with subcollections must use "storeAs" How should I solve this problem?

I am using react-redux-firestore v2.4 The error below happens What is "storeAs"? I would like to use subcollentions in this version. https://react-redux-firebase.com/docs/firestore but this version is not support "storeAs". Queries with…
user14232549
  • 405
  • 4
  • 17
2
votes
1 answer

How to migrate react-redux-firebase 2.x to react-redux-firebase 3.x

I am transferring to react-redux-firebase 3.x I am studying react with this tutorial. https://github.com/ayush221b/MarioPlan-react-redux-firebase-app How should I migrate the following codes? index.js const store = createStore(rootReducer, …
2
votes
1 answer

Can I structure document collection of users that sign in using google auth provider?

So I am trying to do an app using React and Firebase and by now everything was fine. In my app there are a few options to auth a user. Google, Email and Password and also Twitter. When a user is creating an account using his email I can easily…
2
votes
1 answer

redux-firestore listener error: FirebaseError: Missing or insufficient permissions.?

I am new to firebase and i have an error in console that i really don't know its source: redux-firestore listener error: FirebaseError: Missing or insufficient permissions. I don't know is this sufficient to explain my problem, but because i am new…
2
votes
2 answers

How to reset recaptcha when using react-redux-firebase

I am working with React-Redux-Firebase. I implemented signing in with phone number. Now I am trying to implement error handling. When number is invalid I display window alert with error message. The only thing left to do is to reset recaptcha.…
2
votes
2 answers

Delay in Firestore to create a new document in the users collection

I hope someone can help me with this issue. I'm currently working on a project in which I use firebase to create new users. So, when someone sign a new user up, firebase creates a new user, then it sends a promise to firestore, so it can create a…
2
votes
2 answers

Private Route in react redux firebase not working

I been trying to integrate the react-redux-firebase with my react app. Everything is working except for the protected routes I copied the code for private route from react-react-firebase. This is the code for my private route import React from…
2
votes
2 answers

Using react-redux-firebase to comsume cloud functions - React JS

I'm new to React JS. I'm trying to develop one simple web page which renders data from cloud firestore. And I'm using react-redux-firebase to fetch the data. It is working fine. Now I want the data to be fetched from cloud functions. I have deployed…
2
votes
1 answer

TypeError: firestore.collection is not a function (React ,Redux, Firestore)

When integrating firebase and firestore with react I am facing this error. I have followed new react-redux-firebase documentation but It is of no help. Error -> TypeError: firestore.collection is not a function This is the function where I am…
2
votes
1 answer

How to get valid token from react-firebase für nodesjs server verification

I have a reactJS web app and I am using react-redux-firebase for authentification and it works fine. Now I wanted to add a own nodejs server (with a little db behind) and I read that I can use the firebase token from the react webapp login to…
1
2
3
12 13