Files
firebase-ios-sdk/Example/FirestoreSample/README.md
a5859f9cec Add property wrapper for Firestore (#8614)
* Add FIRRequest
* Make FIRPredicate public
* Make init public
* Bugfixes
* Add debug print
* Move to main thread
* Undo "Move to main thread"
* Add FirebaseStore
* Add placeholder value
* Treat CollectionReference as Query
* Change let to var
* Replace getDocuments with addSnapshotListener
* Feedback from review
* Add sample project
* Rename folder, Rename FirebaseStore to QueryStore, Rename FIRRequest to FirestoreQuery, Rename several functions, attributes and parameter labels, Extend error handling
* Update some access specifiers, Add factory methods
* Add orderBy and limitTo
* Update Copyright, Rename FIRPredicate to QueryPredicate, Rename QueryStore to FirestoreQueryObservable, Rename some parameters, Remove setter for wrappedValue
* Rename store to firestoreQueryObservable
* Add limitToLast
* Move different types to different files
* Add FirestoreQueryConfiguration and projectedValue to dynamically change predicates & collectionPath
* Add Documentation
* Update documentation
* Add example app
* Address feedback from review
* Fix whitespace
* Address feedback from review
* Update data
* Add error handling (Manually cherry pick from Morten's PR: https://github.com/chFlorian/firebase-ios-sdk/pull/2)
* Update sample app to demonstrate error handling
* Cleanup
* Fix warning regarding unwrapping
* Fix tvOS availability
* Fix typos
* Experimental: use @FirestoreQuery inside a view model (Hint: this doesn't work)
* Fix platform availabilities
* Update data
* Improve error handling
* Cleanup
* Address feedback from review
* Update data
* Cleanup
* Alternate signature for predicates
* Address feedback from review
* Remove trailing backtick

Co-authored-by: Florian Schweizer <post.an.flo@gmail.com>
Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk>
2021-10-06 13:56:31 +02:00

11 lines
517 B
Markdown

# Firestore Sample
This sample demonstrates how to use Firestore. At the moment, it only contains
code that shows how to use the `@FirestoreQuery` property wrapper.
## How to use
1. Install the Firebase emulator suite (see https://firebase.google.com/docs/emulator-suite/install_and_configure for details)
2. Launch the local emulator suite by running the `run.sh` script in this folder
3. You can now run `FirestoreSample` on a local iOS Simulator, the app will communicate with the local Firebase Emulator suite