Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error in AuthResult AuthResult result #22

Open
umesh-khatiwada opened this issue Jan 6, 2021 · 7 comments
Open

getting error in AuthResult AuthResult result #22

umesh-khatiwada opened this issue Jan 6, 2021 · 7 comments

Comments

@umesh-khatiwada
Copy link

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 ...
Screenshot (620)

@thomasjerryarackal
Copy link

what to do with this error

@Vishal07gt
Copy link

I am also facing same error.
Any Solution ??

@Vishal07gt
Copy link

Screenshot 2021-01-17 105949

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

@Shiru99
Copy link

Shiru99 commented Jan 17, 2021

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'

@AFZAL-123
Copy link

I tried all the suggested solution but then also getting error!
image

@gofranshits
Copy link

I tried all the suggested solution but then also getting error!
image

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

@clusterDe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants