A common platform interface for the cloud_firestore plugin.
- Fixed 2 race conditions. (#3251)
- When a snapshot stream unsubscribes, the Dart Stream is removed at the same time an async request to remove the native listener is sent. In some cases, an event is sent from native before the native listener has been removed, but after the Dart Stream is removed, causing an assertion error.
- If a widget updates in a very short period of time, the
onCancelstream handler is called pretty much straight away. Since setting up the stream handler takes longer than removing, in some edge cases it's trying to remove a listener which hasn't been created.
- Update lower bound of dart dependency to 2.0.0.
- Fixed formatting in the CHANGELOG.
FieldValueFactoryPlatformto use generics.
FieldValuePlatformno longer extends
MethodChannelFieldValueno longer extends
FieldValuePlatformand supports equality comparison.
- Fixed the file name of a test.
- Make the pedantic dev_dependency explicit.
- Created Platform Interface