# cloud_firestore_platform_interface 5.4.11

A common platform interface for the cloud_firestore plugin.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'cloud_firestore_platform_interface:5.4.11'
```
Published: 2022-01-07T16:48:34.051066Z
Expected archive SHA-256: 2308ee92eced38dda615b379df608505a6771b8679c43c2bc1eca8bf23f2655a

Available in cache; verification: upstream_checksum
## Direct dependencies
- collection: ^1.15.0
- firebase_core: ^1.10.0
- flutter: map[sdk:flutter]
- meta: ^1.3.0
- plugin_platform_interface: ^2.0.0

## Package README (untrusted upstream documentation)
# cloud_firestore_platform_interface

A common platform interface for the [`cloud_firestore`][1] plugin.

This interface allows platform-specific implementations of the `cloud_firestore`
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.

## Usage

To implement a new platform-specific implementation of `cloud_firestore`, extend
[`FirebaseFirestorePlatform`][2] with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
`FirebaseFirestorePlatform` by calling
`FirebaseFirestorePlatform.instance = MyFirestore()`.

## Note on breaking changes

Strongly prefer non-breaking changes (such as adding a method to the interface)
over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion
on why a less-clean interface is preferable to a breaking change.

[1]: ../cloud_firestore
[2]: lib/cloud_firestore_platform_interface.dart

## Changelog
## 5.4.11

 - Update a dependency to the latest release.

## 5.4.10

 - **REFACTOR**: fix all `unnecessary_import` analyzer issues introduced with Flutter 2.8. ([7f0e82c9](https://github.com/FirebaseExtended/flutterfire/commit/7f0e82c978a3f5a707dd95c7e9136a3e106ff75e))

## 5.4.9

 - Update a dependency to the latest release.

## 5.4.8

 - Update a dependency to the latest release.

## 5.4.7

 - Update a dependency to the latest release.

## 5.4.6

 - Update a dependency to the latest release.

## 5.4.5

 - Update a dependency to the latest release.

## 5.4.4

 - Update a dependency to the latest release.

## 5.4.3

 - Update a dependency to the latest release.

## 5.4.2

 - Update a dependency to the latest release.

## 5.4.1

 - Update a dependency to the latest release.

## 5.4.0

 - **STYLE**: enable additional lint rules (#6832).
 - **FEAT**: override ==/hashCode for Firestore Queries (#6797).

## 5.3.0

 - **FEAT**: useFirestoreEmulator(host, port) API for firestore (#6428).

## 5.2.0

 - **FEAT**: useFirestoreEmulator(host, port) API for firestore (#6428).

## 5.1.2

 - Update a dependency to the latest release.

## 5.1.1

 - Update a dependency to the latest release.

## 5.1.0

 - **FEAT**: loadBundle() & namedQueryGet() implementation (#6037).

## 5.0.1

 - **DOCS**: Add missing homepage/repository links (#6054).
 - **CHORE**: publish packages (#6022).
 - **CHORE**: publish packages.

## 5.0.0

> Note: This release has breaking changes.

 - **BREAKING** **FEAT**: convert FieldPath parameters from dynamic to Object (#5997).

## 4.0.3

 - Update a dependency to the latest release.

## 4.0.2

 - Update a dependency to the latest release.

## 4.0.1

 - Update a dependency to the latest release.

## 4.0.0

 - Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

## 4.0.0-1.0.nullsafety.2

 - **FIX**: Fix type issue. (#5081).
 - **FIX**: Fixed crashes due to null `Settings` (#5031).

## 4.0.0-1.0.nullsafety.1

 - **TESTS**: update mockito API usage in tests

## 4.0.0-1.0.nullsafety.0

> Note: This release has breaking changes.

 - **BREAKING** **REFACTOR**: migrate to NNBD (#4780).

## 3.0.1

 - Update a dependency to the latest release.

## 3.0.0

> Note: This release has breaking changes.

 - **FEAT**: Move Snapshot handling into a EventChannel (#4209).
 - **BREAKING** **REFACTOR**: remove all currently deprecated APIs (#4594).

## 2.2.1

 - Update a dependency to the latest release.

## 2.2.0

 - **FEAT**: migrate firebase interop files to local repository (#3973).
 - **CHORE**: publish packages.
 - **CHORE**: publish packages.

## 2.1.3

 - Update a dependency to the latest release.

## 2.1.2

 - **FIX**: bubble exceptions (#3701).
 - **FIX**: fix returning of transaction result (#3747).

## 2.1.1

 - **FIX**: typo in code comments (#3655).
 - **DOCS**: remove `updateBlock` reference in Firestore docs (#3728).

## 2.1.0

 - **FIX**: check for Stream existence before sending event (#3435).
 - **FEAT**: add a [] operator to DocumentSnapshot, acting as get() (#3387).
 - **DOCS**: Fixed docs typo (#3471).

## 2.0.1

 - Fixed 2 race conditions. [(#3251)](https://github.com/FirebaseExtended/flutterfire/pull/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 `onCancel` stream 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.

## 2.0.0

* See `cloud_firestore` plugin changelog.

## 1.1.2

* Update lower bound of dart dependency to 2.0.0.

## 1.1.1

* Fixed formatting in the CHANGELOG.

## 1.1.0

* Updated `FieldValueFactoryPlatform` to use generics.
* `FieldValuePlatform` no longer extends `PlatformInterface`.
* `MethodChannelFieldValue` no longer extends `FieldValuePlatform` and supports equality comparison.
* Fixed the file name of a test.

## 1.0.1

* Make the pedantic dev_dependency explicit.

## 1.0.0

* Created Platform Interface







 
