cannot use cloud firestore in flutter (android and IOS) ... I get this Exception:
E/flutter (10137): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method DocumentReference#setData on channel plugins.flutter.io/cloud_firestore)
E/flutter (10137): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
E/flutter (10137): E/flutter (10137): #1 DocumentReference.setData (package:cloud_firestore/src/document_reference.dart:51:30)
E/flutter (10137): #2 _MyHomePageState.build. (package:firestoretest/main.dart:41:16)
note:
This is my pubspec.yaml file:
cloud_firestore: ^0.13.0+1
collection: ^1.14.11
firebase_core: ^0.4.3+1
I configured firebase properly and it is connected as shown in firebase console .. and able to use firebase real-time database without problems