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: Users Unable to Login via Firebase Authentication in Google Play Installed App #16921

Open
1 task done
RahmiTufanoglu opened this issue Dec 30, 2024 · 7 comments
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: android Issues / PRs which are specifically for Android. plugin: auth type: bug Something isn't working

Comments

@RahmiTufanoglu
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Auth

Which platforms are affected?

Android

Description

Users are unable to log in using Firebase Authentication when the app is installed from Google Play. However, the same app works correctly when running locally during development. All configuration settings have been double-checked and appear to be correct.

Firebase:
1A: Upload Key
2A: App Key

Keys are added to Firebase correctly.

Image

Google Play Console:
1A: Upload Key
2A: App Key

Keys are added to Google Play Console correctly.

Image

Google Cloud:
1A: Upload Key
2A: App Key

Keys are added to Google Cloud correctly.

Image Image Image

Firebase App Check:

Firebase App Integrity was enabled and is now disabled.

Image ![Image](https://github.com/user-attachments/assets/dbc08831-ffe0-4bde-9734-77d8b569ecd1) Image

Expected Behavior:
Users should be able to log in seamlessly using Firebase Authentication, regardless of whether the app is installed locally or from Google Play.

Actual Behavior:
Users encounter login failures when the app is installed from Google Play. No issues occur when the app is run locally.

Reproducing the issue

Steps to Reproduce:

  1. Set up Firebase Authentication for the app.
  2. Test the app locally on a device or emulator:
  • Result: Authentication works as expected.
  1. Publish the app to Google Play.
  2. Install the app from Google Play.
  3. Attempt to log in using Firebase Authentication.

Firebase Core version

3.1.0

Flutter Version

3.24.2

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

@RahmiTufanoglu RahmiTufanoglu added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Dec 30, 2024
@SelaseKay SelaseKay added plugin: auth platform: android Issues / PRs which are specifically for Android. labels Dec 30, 2024
@SelaseKay
Copy link
Contributor

Hi @RahmiTufanoglu, is this a newly published app?

@SelaseKay SelaseKay added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Dec 30, 2024
@RahmiTufanoglu
Copy link
Author

@SelaseKay No, it's already in the Play Store

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Dec 30, 2024
@SelaseKay
Copy link
Contributor

Did you start experiencing this issue after you updated the plugins?

@SelaseKay SelaseKay added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Dec 30, 2024
@RahmiTufanoglu
Copy link
Author

@SelaseKay No, I think it's a configuration issue.

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Dec 31, 2024
@SelaseKay
Copy link
Contributor

Did it work previously?

@SelaseKay SelaseKay added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Dec 31, 2024
@RahmiTufanoglu
Copy link
Author

@SelaseKay Yes, it did. Have you looked at the screenshots? Do you see any misconfiguration?

@russellwheatley
Copy link
Member

@RahmiTufanoglu - I would suggest logging (e.g. using crashlytics) the failed login exceptions so you can see what the error code/message is which will help you diagnose the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. 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

4 participants