cloud_firestore_platform_interface:我们现在应该从这个包中执行所有 firestore 操作吗?

cloud_firestore_platform_interface: Are we supposed to do all firestore operations from this package instead now?

当我意识到其中一个将 'migrate' 指示为 cloud_firestore_platform_interface 时,我正在查看 cloud_firestore 的更新日志。我想知道这是什么意思。我特别好奇,因为 google 留下一个有问题的包是没有意义的(?我刚刚了解到,如果在客户端离线时尝试 Transaction 而不是抛出 ExceptionError 如本期 https://github.com/flutter/flutter/issues/34789#issuecomment-504134476 所述)。如果我应该使用这个新包中的 Firestore 有人可以推荐指南吗?

关于交易的新问题:

I was going to the changelog for cloud_firestore when I realised that one of them indicated 'migrate' to cloud_firestore_platform_interface.

这只是意味着 cloud_firestore 也在使用软件包 cloud_firestore_platform_instance

来自文档:

A common platform interface for the cloud_firestore 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.

https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_platform_interface

如果你想使用cloud_firestore,那么你仍然需要像往常一样使用cloud_firestore插件,没有任何改变。