All Questions
Tagged with google-cloud-firestore react-native
1,669
questions
0
votes
0
answers
19
views
React Native Firestore useEffect Fetch Issue with where Clause and Pagination
I am working on a React Native project that uses Firestore to fetch a list of services. I am trying to fetch services with a price greater than or equal to 70 and implement pagination using Firestore'...
0
votes
1
answer
53
views
fetch only one data of single document instead of all documents
I'm trying to fetch all data of documents inside the collection but unfortunately the code only fetch data of one single document.
const Charities = ({navigation}) => {
const [...
-1
votes
1
answer
60
views
Unable to Register New Users in Firebase with Expo [closed]
I'm running into an issue with my Firebase project using Expo. When I try to register a new user, the system doesn't allow me to create a partition in the database with data beyond the user's email ...
-2
votes
0
answers
29
views
Creating Array and map fields in Firestore through the REST API [closed]
I can create normal records using Firestore API with React native.
I'm having trouble creating Array and Map data type records.
The error I get is:
cannot convert firestore v1 value with type unset
...
0
votes
1
answer
47
views
Fetch each user data from Firestore failed
I'm trying to fetch each user data from firestore based on the user login, between I'm using React Native and firebase.
Fetch code
const UserInbox = () => {
const auth = getAuth(app)
const ...
0
votes
0
answers
31
views
Firebase (Phone Auth) Getting iOS error: NativeFirebaseError: [auth/invalid-app-credential] Invalid token
Issue with Sign-In Using Phone Number on Physical Device and Production in React Native Firebase
Problem
The sign-in with phone number works on the iOS simulator, but it stops working in production or ...
0
votes
0
answers
19
views
I'm facing this error due to update user image possible unhandled promise rejection (id 3) typeerror network request failed
I'm using React native expo with fire-store and I'm trying to update and upload user image so when I open the album to select a photo then press update button I get this error
Here is the Code
{/*...
0
votes
0
answers
43
views
How do I correctly use firebase as a signaling server of WEBRTC mobile?
I am building a mobile video call type of application, and the issue is in the signaling I get various errors when initiating the call also the way to connect all the screens seems like the server is ...
0
votes
1
answer
26
views
FirebaseError: Invalid document reference. Document references must have an even number of segments, but table/table1/recipe0 has 3
I have a college project that uses react native to create a app, we have to use firebase to make the database and use it inside of hte pages, i have a problem where i have a page that you can look at ...
0
votes
1
answer
28
views
adding Hard-Coded Users to Firestore in React Native Firebase"
I'm developing a React Native application that requires pre-populating Cloud Firestore with user data obtained after authentication. The user flow involves first going through authentication to create ...
0
votes
0
answers
23
views
React Native - relativePath.split is not a function ( it is undefined )
I have a hook I created to get my tags. I import this hook in my component, and call it on useeffect.
It is (supposed to be) exactly the same structure as my others hooks, that works fine, but this ...
0
votes
1
answer
25
views
How to download image and show it on screen from firebase storage
I would like to show an image which was downloaded from firebase storage ons screen.
export const getMyImage = async (userId) => {
try {
if (!userId) {
throw new Error("Invalid ...
1
vote
0
answers
15
views
Optimizing Calculations in React Native Expo with Firebase: Client-Side vs Cloud Functions?
I'm currently working on a home screen for my app where users can view their PNL (profit and loss) over different time frames: 1 week, 4 weeks, and 12 weeks. The PNL data is the same for all users ...
0
votes
0
answers
28
views
firebase firestore database add function does nothing
i have a problem while adding data to firestore. i have an empty database named mydb.
when i try to add data to firestore .it does absolue nothing. the code i am using from the official site ...
0
votes
1
answer
40
views
Firebase Batch Write fails with [Error: [firestore/invalid-argument]]
When I try to batch insert records in intervals of 450 (I chose this to make sure I was below the 500 firestore limit) I get an error for an invalid argument. Below is the exact code I am using.
I am ...