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…

Aditya.Naik
- 45
- 1
- 6
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…

Olof Lindh
- 31
- 2
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:…

Lionel B
- 1,172
- 2
- 9
- 24
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,
…

user14232549
- 405
- 4
- 17
2
votes
2 answers
I am rewriting a class component to a functional component in react-redux-firebase project
I am rebuilding this…

user14232549
- 405
- 4
- 17
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…
user9661030
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…

Saher Elgendy
- 1,519
- 4
- 16
- 27
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.…

Andrzej Popek
- 23
- 1
- 3
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…

Bernardo Fonseca
- 21
- 4
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…

Vikranth
- 1,538
- 1
- 14
- 23
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…

Akshatha S R
- 1,237
- 1
- 15
- 30
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…

Bippan Kumar
- 507
- 1
- 6
- 10
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…

MarkusJackson
- 225
- 2
- 12