flutter_firebase_auth_example icon indicating copy to clipboard operation
flutter_firebase_auth_example copied to clipboard

Can't sign in

Open simeon105 opened this issue 6 years ago • 4 comments

I/flutter ( 4622): Sign In Error: NoSuchMethodError: The getter 'data' was called on null. I/flutter ( 4622): Receiver: null I/flutter ( 4622): Tried calling: data E/flutter ( 4622): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'NoSuchMethodError' is not a subtype of type 'Exception'

simeon105 avatar Aug 13 '19 10:08 simeon105

Exception has occurred.
_TypeError (type '_CastError' is not a subtype of type 'Exception')

i get this when i try to sign in

ggichure avatar Aug 14 '19 08:08 ggichure

did you setup your project to use firebase?

delay avatar Aug 17 '19 18:08 delay

Yes. But I do register a user

ggichure avatar Aug 17 '19 18:08 ggichure

I/flutter ( 4622): Sign In Error: NoSuchMethodError: The getter 'data' was called on null. I/flutter ( 4622): Receiver: null I/flutter ( 4622): Tried calling: data E/flutter ( 4622): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'NoSuchMethodError' is not a subtype of type 'Exception

and my project has been setup to firebase correctly because other screens get data from the firestore database

MMkhize11 avatar Mar 11 '20 09:03 MMkhize11