-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
blocked: customer-responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.platform: webIssues / PRs which are specifically for web.Issues / PRs which are specifically for web.plugin: authresolution: needs-reproThis issue could not be reproduced or needs an up to date reproduction on latest FlutterFire plugin.This issue could not be reproduced or needs an up to date reproduction on latest FlutterFire plugin.type: bugSomething isn't workingSomething isn't working
Description
Flutter for Web, in case of Firebase auth throw _FirebaseErrorWrapper exception instead of PlatformException, so for that we have to use a catch block to handle different scenarios to handle all kind of exception thrown by Firebase auth
SOLUTION
Please change _FirebaseErrorWrapper to PlatformException so its matched the Flutter for Mobile exception handling and are easier to maintain
Error message
The exception that I received is like this:
FirebaseError: The password is invalid or the user does not have a password. (auth/wrong-password)
Type: _FirebaseErrorWrapper
Version:
firebase_auth: ^0.16.0
Scripts:
matthew-carroll, TahaTesser, mrmax99 and dmiedev
Metadata
Metadata
Assignees
Labels
blocked: customer-responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.platform: webIssues / PRs which are specifically for web.Issues / PRs which are specifically for web.plugin: authresolution: needs-reproThis issue could not be reproduced or needs an up to date reproduction on latest FlutterFire plugin.This issue could not be reproduced or needs an up to date reproduction on latest FlutterFire plugin.type: bugSomething isn't workingSomething isn't working