-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
hi i'm new to flutter, when i try to login with google everything okay but if i try login with the same email on facebook this error appear "ERROR_ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL" on the debug console but i cannot catch the error or the exception on ths part:
`auth.signInWithFacebook().then(signInFunc).catchError((err,stackTrace) {
auth.currentUser();
debugPrint(err);
print('error caught: $err');
// if (err is! Exception) err = err.toString();
//errorMessage = auth.message;
});`
how can i catch the exception?
Metadata
Metadata
Assignees
Labels
No labels