[英]How do i add the master repo version of cloud_firestore plugin (inside flutterfire package) to my app's pubspec.yaml?
I need the disableNetwork() feature of cloud firestore in my flutter app.我需要在我的 flutter 应用程序中使用 cloud firestore 的 disableNetwork() 功能。 It is not available in the latest version (0.13.7) of cloud_firestore .
它在 cloud_firestore 的最新版本 (0.13.7) 中不可用。 It is available in the master repo of the git hub repository.
它在 git 集线器存储库的主存储库中可用。 I could not add the git link which directs to the cloud_firestore package because it is inside the repository flutterfire .
我无法添加指向cloud_firestore package 的 git 链接,因为它位于存储库flutterfire内。 So, how do i add it in my pubspec.yaml file.
那么,我如何将它添加到我的 pubspec.yaml 文件中。
cloud_firestore:
git: https://github.com/FirebaseExtended/flutterfire.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.