- 'DocumentSnapshot' is from 'package:cloud_firestore/cloud_firestore.dart' ('/C:/flutter/flutter/.- 'DocumentSnapshot' is from 'package:cloud_firestore/cloud_firestore.dart
我正在尝试更新文档,但不断收到此错误: ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method DocumentReference#updateData on channel plugins.flutter.io/cloud_firestore: FieldValue.arrayUnion(new
但是,当我尝试打印出信息时,它会打印出null。请查看下面的错误部分以查看打印结果。:firebase-firestore@@21.3.0:80)
E/MethodChannel#plugins.flutter.io/cloud_firestore(22917): at com.google.firebase.firestore.FirebaseFirestore.document(com.google.firebase:firebase-firestore@@21
我已经让我的应用程序在Firebase RTDB上工作,但我想尝试Firestore,所以我按照说明安装了'‘插件。Unable to satisfy the following requirements:
- `Firebase/Firestore` required by `firebase_firestore我尝试在我的Podfile中指定platform :ios, '9.0'和10.0,但没有任何区别。所有其他pod安装正常。for Runner