-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
StaleIssue with no recent activityIssue with no recent activityclosed-by-botresolution: no-responseCustomer did not respond after some time.Customer did not respond after some time.type: bugSomething isn't workingSomething isn't working
Description
Bug report
Using firebase auth for google sign in but when I call _firebaseAuth.signInWithCredential(credential) , I get this weird error
_TypeError (type 'List<Object?>' is not a subtype of type 'int?' in type cast)
this is my code
Future<UserCredential> signInWithGoogle() async {
final GoogleSignInAccount? googleUser = await GoogleSignIn().signIn();
final GoogleSignInAuthentication? googleAuth =
await googleUser?.authentication;
final credential = GoogleAuthProvider.credential(
accessToken: googleAuth?.accessToken,
idToken: googleAuth?.idToken,
);
return await _firebaseAuth.signInWithCredential(credential);
}
This was working before but it has been a day or two it doesn't work
Metadata
Metadata
Assignees
Labels
StaleIssue with no recent activityIssue with no recent activityclosed-by-botresolution: no-responseCustomer did not respond after some time.Customer did not respond after some time.type: bugSomething isn't workingSomething isn't working