flutterfire
flutterfire copied to clipboard
[firebase_auth]: signInWithEmailAndPassword providerId returns null on Android
Is there an existing issue for this?
- [X] I have searched the existing issues.
Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
final userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(email: '[email protected]', password: '000000');
print(userCredential.additionalUserInfo!.providerId); // => null
The providerId is null on Android while it's 'password' on iOS.
Reproducing the issue
final userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(email: '[email protected]', password: '000000');
print(userCredential.additionalUserInfo!.providerId); // => null
Firebase Core version
3.1.0
Flutter Version
3.19.5
Relevant Log Output
No response
Flutter dependencies
Expand Flutter dependencies snippet
firebase_auth: ^5.1.0
firebase_core: ^3.1.0
Additional context and comments
No response
@jezsung Thank you for reporting this issue. I've been able to reproduce it. I've informed the team, and we will be working on a fix for it.
Opened here : https://github.com/firebase/firebase-android-sdk/issues/6054