Reputation: 23
im new on flutter and im working on an app that needs to make rest api calls using firebase, i was able to open the app on my emulator (pixel 7 phone) and on my chrome browser before installing the http dependencie but after installing it i can only open in my phone emulator, when i try opening it on chrome the following errors apear: ../../../AppData/Local/Pub/Cache/hosted/pub.dev/cloud_firestore_web-3.10.8/lib/src/interop/firestore.dart:412:12: Error: The method 'handleThenable' isn't defined for the class 'DocumentReference'.
i tried to open the flutter app using chrome and got errors
Upvotes: 2
Views: 359
Reputation: 78
Did you try doing a flutter pub get
in the terminal? Perhaps it needs to save the package version in the pubspec.lock lockfile. Hitting save while on your pubspec.yaml file also has the same effect.
Upvotes: 0