I’m new to javascript and I’m trying to send email with the firebase callable functions. the idea is to send code to user email from a cloud function when called from the iOS app. But the thing is, …
I’m new to javascript and I’m trying to send email with the firebase callable functions. the idea is to send code to user email from a cloud function when called from the iOS app. But the thing is, …
the rules I set is allow read: if resource.data.uid == request.auth.uid; how I call it is like this return async (dispatch) => { await firebase .firestore() .collection(“…
I have a database structure like this: Posts(collection) -> userID (document) -> Subposts (subcollection) -> document[isVisible: true] We have different userIDs which means that each userID …
I am displaying “global posts” on one of my tabs. Currently, there are only 11 posts in the database: In the app Some of the posts are being duplicated, and I have no idea why these …
I’m trying to build a method which reads from firestore an array of elements (object): I have a service which retrieves the data from firestore, first it gets an array of document references var data …
I have group collection. In each group document, I store which users are associated with the group via members array field in firebase. Eg: user1 & user2 are in xyz(id) group and I would like to …
I am having trouble with Firestore in production. There is a collection I am trying to query and it has about 200-300 documents. It’s a simple query being done through a Cloud Function. I’ve setup a …
I am designing a web page that will obtain data from my firestore collection and display each document with its corresponding fields Here is the code: