Along with the below changes, the plugin has undergone a quality of life update to better support exceptions thrown. Any Firestore specific errors now return a FirebaseException, allowing you to directly access the code (e.g. permission-denied) and message. Firestore:
CollectionReference:
Query:
QuerySnapshot:
DocumentReference:
DocumentChange:
DocumentSnapshot:
WriteBatch:
Transaction:
See the new transactions documentation to learn more. FieldPath:
GetOptions: New class created to support how data is fetched from Firestore (server, cache, serverAndCache). SetOptions: New class created to both merge and mergeFields when setting data on documents. GeoPoint:
Note: this version depends on features available in iOS SDK versions 5.5.0 or later. To update iOS SDK in existing projects run pod update Firebase/Firestore.
|