Flutter 2.5 and Firestore (what is native code?) #7092
Unanswered
jerryhamby
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Building a web based app using Firestore as the backend.
This use to work in Flutter 2.2.3, but Flutter 2.5 is causing a problem.
What the heck is native code???
Problem:
Closure: () => Map<String, dynamic> from: function () { [native code] }
Lands on utils, dart ???
/// Handles the [PromiseJsImpl] object.
Future handleThenable(PromiseJsImpl thenable) async {
return util.promiseToFuture(thenable);
}
My Plugins:
firebase_core: ^1.6.0
cloud_firestore: ^2.5.
My Search:
QuerySnapshot querySnapshot = await FirebaseFirestore.instance
.collection('users')
.where("userid", isEqualTo: theid)
.where('password', isEqualTo: thepass)
.where("status", isEqualTo: "admin")
.get();
Beta Was this translation helpful? Give feedback.
All reactions