Open umesh-khatiwada opened 3 years ago
what to do with this error
I am also facing same error. Any Solution ??
Use the same versions of this as mentioned in tutorials... in pubspec.yaml firebase_auth: ^0.14.0+5 cloud_firestore: ^0.12.9+4
as @Vishal07gt told either use earlier versions of dependencies or update the terms like
'FirebaseUser' with 'User' '_auth.onAuthStateChanged' with '_auth.authStateChanges()' 'Firestore' with 'FirebaseFirestore' 'document' with 'doc' 'setData' with 'set'
I tried all the suggested solution but then also getting error!
I tried all the suggested solution but then also getting error!
now you need to change the User class into another name as User now is used by firestore_auth, in the model User change the class name from User to anything else and change the name wherever it's been used to the new name
as @Vishal07gt told either use earlier versions of dependencies or update the terms like
'FirebaseUser' with 'User' '_auth.onAuthStateChanged' with '_auth.authStateChanges()' 'Firestore' with 'FirebaseFirestore' 'document' with 'doc' 'setData' with 'set'
thanks a lot really helpfull
getting error in AuthResult AuthResult result = await _auth.signInAnonymously(); ...can you help me to solve the error..
and dont know why, FirebaseUser is also showing some kinds of error ...