MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

[SOLVED] Flutter : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)

ERROR

PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)

Flutter console log showing unhandled PlatformException sign_in_failed with ApiException 10 stack trace

SOLUTION

The following solution works in the flutter project:

Step 1: Generate SHA1 and SHA256 keys. (Don’t know how to generate SHA1 and SHA256 keys. Click Here)

Step 2: Add both the SHA1 and SHA256 to firebase. (in your app settings)

Step 3: Download google-services.json to android/app in your project folder.

Step 4: In your terminal run the command flutter clean. Step 5: Run your flutter app.

For more information visit:
https://developers.google.com/android/guides/client-auth
https://firebase.google.com/docs/flutter/setupCode language: JavaScript (javascript)

That’s All.

Thanks for Reading.

Keep Coding.

Animated cat typing quickly on a laptop

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
With MotoShare.in, you can book a bike instantly, enjoy doorstep delivery, and ride without worries. Perfect for travelers, professionals, and adventure enthusiasts looking for a seamless mobility solution.

Related Posts

[Solved] Flutter : [core/not-initialized] Firebase has not been correctly initialized. Have you added the “google-services.json” file to the project?

Problem I’ve connected my flutter app to firebase by adding SHA1 key ( How to Get SHA-1 key in Android Studio for Firebase. ) and package name…

Read More

How to create Firebase Console for Flutter Database?

First Go to https://console.firebase.google.com/ and click on plus icon like below- After that fill input box as you wish project name like below- and click continue fsd…

Read More

Flutter: [core/no-app] No Firebase App ‘[DEFAULT]’ has been created – call Firebase.initializeApp()

If you get such type of error When you run a Project in Flutter App using Firebase then – open “pubspec.yaml” and paste in “dependencies:” like below:…

Read More

Top 10 Mobile Performance Monitoring Tools: Features, Pros, Cons & Comparison

Introduction Mobile Performance Monitoring (MPM) tools are specialized solutions designed to measure, analyze, and optimize the performance of mobile applications across devices, operating systems, and real-world network…

Read More

Top 10 Mobile Analytics SDKs: Features, Pros, Cons & Comparison

Introduction Mobile Analytics SDKs are specialized software development kits that developers integrate directly into mobile applications to collect, analyze, and interpret user behavior data. These SDKs track…

Read More

Top 10 Mobile App Development Platforms: Features, Pros, Cons & Comparison

Introduction Mobile App Development Platforms are software frameworks and toolsets that help individuals and organizations design, build, test, deploy, and maintain mobile applications for Android, iOS, and…

Read More