Home > Java > javaTutorial > Why Does Firebase UI Google Authentication Fail with Code: 10, Message: 10?

Why Does Firebase UI Google Authentication Fail with Code: 10, Message: 10?

Mary-Kate Olsen
Release: 2024-12-31 19:48:11
Original
540 people have browsed it

Why Does Firebase UI Google Authentication Fail with Code: 10, Message: 10?

Firebase UI authentication with google fails with message (code:10 message:10)

In Firebase, authentication is a critical aspect. However, many users struggle with an issue when attempting to authenticate with Google via Firebase UI: a toast message with the code:10 and message:10. This problem often arises when downloading the app from the Play Store, despite it functioning flawlessly in debug mode.

Three Keys for Authentication:

To resolve this issue, you need to possess three keys:

  • Debug key: Used during development and troubleshooting.
  • Release key: Employed for distributing the app in the Play Store.
  • Google Play App signing key: Originating from Google Play.

Key Additions and Troubleshooting:

After acquiring these keys, add them to your Firebase project:

  1. Go to the Firebase console.
  2. Select your project.
  3. Navigate to Authentication and then Sign-In Method.
  4. Click on the Google tab.
  5. Add new keys by clicking the "Add fingerprint" button.
  6. Paste the keys accordingly.

Additional Considerations:

  • Verify that your Google Play App signing key matches the one used to sign your APK.
  • Ensure that you have the latest version of Firebase UI.
  • Update any out-of-date Android dependencies.

By following these steps and ensuring you have all the necessary keys, you should be able to resolve the authentication issue and have your app function correctly.

The above is the detailed content of Why Does Firebase UI Google Authentication Fail with Code: 10, Message: 10?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template