我正在创建一个 flutter web 应用程序,我想将我的 flutter web 项目连接到 cloud firestore,是否有任何将我的项目连接到 cloud firestore
我尝试在 pubspec.yaml 中导入 cloud_firestore: ^0.12.5+2。
因为op依赖cloud_firestore >=0.3.0,需要Flutter SDK,版本解析失败。
最佳答案
FlutterFire plugin您发现仅针对 iOS 或 Android。
如果您的目标是网络,请使用 firebase-dart
plugin .
另请参阅我昨天在这里给出的类似答案:Is there a Dart interface to Firestore - with API as in https://firebase.google.com/docs/firestore/quickstart?
关于google-cloud-firestore - 如何在 Flutter Web 应用程序中使用 Cloud Firestore,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57168080/