Skip to main content
13 votes
2 answers
5k views

This is my database structure. cities -> landmarks -> attractions(each one is a collection) Query List all attractions under a particular city. Solution Save city_id in each attraction document ...
8 votes
1 answer
5k views

My goal is to optimize my app's architecture for cost when using Firebase Cloud Firestore. I understand Cloud Firestore's pricing model is on a per read/write basis. So I'm considering the following ...
5 votes
3 answers
298 views

I have tried to install GeoFire in Xcode/Swift. According to the documentation (https://firebase.google.com/docs/firestore/solutions/geoqueries), this is done by adding "GeoFire/Utils" to ...
1 vote
2 answers
70 views

I'm using Firebase Authentication and Firebase Cloud Firestore for my Flutter project. But the rules I implemented in the Firestore only apply correctly after restarting the app, if the user just ...
0 votes
3 answers
189 views

I have tried import firebase from 'firebase/compat/app'; import 'firebase/compat/firestore'; const firestore = firebase.firestore; this.form = this.builder.group({ items:[data.items, null], ...
1 vote
2 answers
146 views

QuerySnapshot profilesSnap = await _firestore .collection('users') .doc(userId) .collection('profiles').doc("default").collection("incomeRecords") ...
Advice
1 vote
1 replies
72 views

I am pretty new to firebase and firestore and I just discovered onSnapshot method. I was wondering how much read an onSnapshot query is worth. I don't understand if it read the whole collection and ...
0 votes
0 answers
99 views

After installing modules shown below I keep getting this error, after trying to run an app in Xcode: firebase: 11.1.0 @react-native-firebase/app: 23.7.0 @react-native-firebase/auth: 23.7.0 @react-...
2 votes
0 answers
75 views

I am trying to build a basic proxy server that's accessible from the internet to forward requests but also log them to Firebase database. I deployed my code on Google Cloud Run by creating an instance ...
1 vote
0 answers
102 views

I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
-2 votes
0 answers
29 views

I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
0 votes
1 answer
67 views

I have chat documents like the following: { members: ['abc','def'] // 2 element list of member UIDs // some other chat metadata } In firestore, I have the following rules on my collection: ...
17 votes
3 answers
31k views

I just installed flutter with firebase but when adding to database I get the following error İnstalled Google Play Services Add in AndroidManifest(main) -Add in AndroidManifest(user) Local module ...
3 votes
2 answers
2k views

I am trying to use invertase/firestore-ios-sdk-frameworks in my project but it implies modifying directly the ios podfile. Is there a way in an expo managed project to add a specific line to a podfile ...
0 votes
1 answer
1k views

I've never used Firebase (or Firestore) before and I'm considering using it for my new mobile application. And I'm wondering if using Firebase only, without any additional server is a good idea. ...

15 30 50 per page
1
2 3 4 5
2852