Closed ianvillamia closed 3 years ago
Problem with Firebase Auth while using angular Dart
Dependencies: Dart VM version: 2.7.1 firebase: 5.0.4
error Uncaught Error: Expected a value of type 'FutureOr', but got one of type 'MemoryInfo'
Code
import 'package:firebase/firebase.dart' as firebase; try { await firebase .auth() .signInWithEmailAndPassword('email', 'password') .then((value) => print('success')); } catch (e) { print(e); }
We do this here and have had no such issues
https://github.com/FirebaseExtended/firebase-dart/blob/32539e94cdba5a56c878a06190b542d32169d148/firebase/example/auth/index.dart#L105-L109
Please reopen with more reproduction details if you still have this problem
Problem with Firebase Auth while using angular Dart
Dependencies: Dart VM version: 2.7.1 firebase: 5.0.4
error Uncaught Error: Expected a value of type 'FutureOr', but got one of type 'MemoryInfo'
Code