Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firebase_auth]: signInWithEmailAndPassword providerId returns null on Android #12985

Open
1 task done
jezsung opened this issue Jun 21, 2024 · 2 comments
Open
1 task done
Assignees
Labels
blocked: firebase-sdk Needs Attention This issue needs maintainer attention. platform: android Issues / PRs which are specifically for Android. plugin: auth type: bug Something isn't working

Comments

@jezsung
Copy link

jezsung commented Jun 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Auth

Which platforms are affected?

Android

Description

final userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(email: 'test@test.com', 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: 'test@test.com', 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 jezsung added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Jun 21, 2024
@TarekkMA TarekkMA added plugin: auth platform: android Issues / PRs which are specifically for Android. labels Jun 24, 2024
@TarekkMA
Copy link
Contributor

@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.

@Lyokone
Copy link
Contributor

Lyokone commented Jun 24, 2024

Opened here : firebase/firebase-android-sdk#6054

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: firebase-sdk Needs Attention This issue needs maintainer attention. platform: android Issues / PRs which are specifically for Android. plugin: auth type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants