Tag: google-cloud-firestore

55 votes
3 answers
3K views
How can I solve the error 'TS2532: Object is possibly 'undefined'?

I'm trying to rebuild a web app example that uses Firebase Cloud Functions and Firestore. When deploying

avatar
Tana
0 1 0 9
asked 07 September, 2021
53 votes
8 answers
2.1K views
How to add Document with Custom ID to firestore

Is there any chance to add a document to firestore collection with custom generated id, not the id generated b

avatar
Patsy
0 1 0 9
asked 07 September, 2021
59 votes
9 answers
2.4K views
type &apos;List<dynamic>&apos; is not a subtype of type &apos;List<Widget>&apos;

I have a snippet of code which I copied from Firestore example: Widget _buildBody(BuildContext context) {

avatar
Shanita
0 1 0 9
asked 07 September, 2021
60 votes
21 answers
2.8K views
Google Firestore: Query on substring of a property value (text search)

I am looking to add a simple search field, would like to use something like collectionRef.where('name&ap

avatar
Janella
0 1 0 9
asked 07 September, 2021
61 votes
13 answers
2.3K views
Google Firestore - how to get document by multiple ids in one round trip?

I am wondering if it's possible to get multiple documents by list of ids in one round trip (network call)

avatar
Boyd
0 1 0 9
asked 07 September, 2021
54 votes
11 answers
2K views
Firestore query subcollections

I thought I read that you can query subcollections with the new Firebase Firestore, but I don't see any e

avatar
Forrest
0 1 0 9
asked 07 September, 2021
57 votes
14 answers
1.7K views
How to update an "array of objects" with Firestore?

I'm currently trying Firestore, and I'm stuck at something very simple: "updating an array (aka a su

avatar
Stacia
0 1 0 9
asked 07 September, 2021
54 votes
12 answers
1.8K views
NullInjectorError: No provider for AngularFirestore

I'm learning Angular looking for help in fixing the error: I'm following this link : https://github.

avatar
Corrin
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
1.3K views
Difference between set with {merge: true} and update

In Cloud Firestore there are three write operations: 1) add 2) set 3) update In the docs it says that usi

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
49 votes
21 answers
1.8K views
firestore: PERMISSION_DENIED: Missing or insufficient permissions

I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMI

avatar
Stacia
0 1 0 9
asked 07 September, 2021
58 votes
12 answers
1.4K views
Separate dev and prod Firebase environment

I am considering using Firebase as MBaaS, however I couldn't find any reliable solution to the following

avatar
Lynette
0 1 0 9
asked 07 September, 2021
53 votes
19 answers
1.1K views
Cloud Firestore collection count

Is it possible to count how many items a collection has using the new Firebase database, Cloud Firestore? If

avatar
Cortez
0 1 0 9
asked 07 September, 2021
64 votes
5 answers
576 views
What is Firebase Firestore &apos;Reference&apos; data type good for?

I'm just exploring the new Firebase Firestore and it contains a data type called reference. It is not cle

avatar
Royal
0 1 0 9
asked 07 September, 2021
66 votes
12 answers
2.8K views
No Firebase App &apos;[DEFAULT]&apos; has been created - call Firebase.initializeApp() in Flutter and Firebase

I am building a Flutter application and I have integrated Firebase, but I keep getting this error when I click

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
59 votes
7 answers
1.4K views
What&apos;s the difference between Cloud Firestore and the Firebase Realtime Database?

Google just released Cloud Firestore, their new Document Database for apps. I have been reading the documenta

avatar
Jeff
0 1 0 9
asked 07 September, 2021