Key takeaways
- Google deprecated the legacy Google Sign-In for Android API and says it will be removed from the Google Play services Auth SDK. Sign in with Google now runs through Credential Manager.
- Google's September 11, 2024 timeline listed Smart Lock for Passwords as shut down in Q1 2025, and One Tap and Google Sign-In for Android for removal in the second half of 2025. Its current migration page still says the removal comes in a future release.
- Sign-in and access to Google APIs are now separate steps. Credential Manager signs the user in; for scopes such as Google Drive, Google says to use the AuthorizationClient API.
- In Flutter, google_sign_in 7.0.0 is a breaking release: GoogleSignIn is a singleton you must initialize first, and authentication and authorization are separate. On Android, google_sign_in_android 7.0.0 switched to Credential Manager.
- Several failures after the move come from configuration, not code: a missing web OAuth client (serverClientId), or a missing SHA fingerprint for one build type. Some of these surface as a "canceled" error.
Pricing an app? Try the free app cost calculator or get a range for your project in the instant quote.
Google Sign-In for Android is deprecated, and Sign in with Google now runs through Credential Manager. If your app still uses GoogleSignInClient and GoogleSignInOptions from play-services-auth, or One Tap, move it to Credential Manager before Google removes the old code from the SDK. In a Flutter app the move is an upgrade to google_sign_in 7, which is a breaking release. Much of the work is in the code, and some of the bugs afterwards are in the setup.
If you landed here from an old link to Google's Android sign-in guide, that address now redirects to the Credential Manager overview. The dates and behavior below come from Android Developers, the Android Developers Blog and the Flutter plugin pages, as listed in the sources. I checked each page on October 18, 2026.
Disclosure: App369 is my studio. I build and fix Flutter and Firebase apps, and the last section mentions what I sell. Google doesn't pay me for anything on this page.
What changed, and when
| When | What happened | Source |
|---|---|---|
| September 11, 2024 | Google announces that Credential Manager replaces its legacy Android sign-in APIs, and publishes a removal timeline | Android Developers Blog |
| Q1 2025 | Smart Lock for Passwords: listed as fully shut down | Android Developers Blog |
| H1 2025 | Credential Saving API and the Sign in with Google button API: listed for removal | Android Developers Blog |
| H2 2025 | One Tap and Google Sign-In for Android: listed for removal | Android Developers Blog |
| Now | Google's migration page says legacy Google Sign-In is deprecated and will be removed from the Play services Auth SDK in a future release | Android Developers |
The two sources don't give the same date. The 2024 post gave half-year targets; the migration page, last updated March 6, 2026, gives none. What both say is the same: the old APIs are on their way out, and new work belongs on Credential Manager.
What the old addresses do today
Checked on October 18, 2026:
- developers.google.com/identity/sign-in/android/start-integrating, the old setup guide, redirects to the Android Credential Manager overview.
- developers.google.com/identity/sign-in/android/sign-in redirects there too.
- developers.google.com/identity/sign-in/android/legacy-gsi-migration returned 404. The live migration page is on developer.android.com, linked in the sources.
- developers.google.com/identity/one-tap/android/overview redirects to a page that says One Tap for Android is deprecated.
Moving a native Android app to Credential Manager
The steps follow Google's Sign in with Google implementation guide:
- Add the dependencies. Add
androidx.credentials:credentials,androidx.credentials:credentials-play-services-authandcom.google.android.libraries.identity.googleid:googleid. Check the androidx.credentials release page for the current stable version: on October 18, 2026 the newest stable release listed was 1.6.0, while Google's sample used a 1.7.0 alpha. - Use your web client ID. Google's guide passes the Web client ID you set up for OAuth in your Google Cloud project as the server client ID, even in an Android app. The project also has to know your Android app: the Flutter plugin's docs list a wrong package name or a missing signing SHA as common causes of failed sign-in.
- Build the request. For the bottom-sheet flow, use
GetGoogleIdOptionwith your web client ID. Google's guide first setssetFilterByAuthorizedAccounts(true)to offer accounts that already signed in, withsetAutoSelectEnabled(true)for returning users. For a "Sign in with Google" button, useGetSignInWithGoogleOption. - Call Credential Manager. Create it with
CredentialManager.create(context)and callgetCredentialwith the request. When the result is aGoogleIdTokenCredential, read it withGoogleIdTokenCredential.createFrom(credential.data). - Verify the ID token on your server. Send the ID token to your backend and verify it there. If you use Firebase Authentication, use the Google ID token with Firebase Auth.
- Move scopes to AuthorizationClient. Google says sign-in and authorization are separate actions now. If your app reads Drive, Calendar or another Google API, request those scopes with the
AuthorizationClientAPI when the user needs that feature, not at sign-in. - Replace silent sign-in. Google's migration page says to use a request with
filterByAuthorizedAccountsset to true and auto-select on, in place ofsilentSignIn. - Remove the old code. Once the new path works, remove
GoogleSignInClient,GoogleSignInOptionsand any One Tap code, so an old error can't be mistaken for a new one.
Moving a Flutter app to google_sign_in 7
On Android, google_sign_in_android 7.0.0 switched to Credential Manager. Its changelog says it removed the deprecated Google Sign In for Android SDK. google_sign_in 7.0.0 is a breaking release, and its changelog lists the main changes:
GoogleSignInis a singleton. UseGoogleSignIn.instanceinstead of creating your ownGoogleSignIn(...).- Initialize first. Call and await
initialize, passingserverClientIdwhere needed, before any other method. - Sign-in is
authenticate(). ChecksupportsAuthenticate()first, because not every platform supports it.attemptLightweightAuthentication()covers returning users. - Authentication and authorization are separate. Access tokens and server auth codes come from separate calls through the account's
authorizationClient, withauthorizationForScopesto check andauthorizeScopesto ask, from a user interaction.
Plan for the upgrade to touch every place your app signs in, reads the current user or asks for scopes. It isn't a version bump you can make in one line.
When sign-in breaks after the move
| What you see | What it usually means | What to check |
|---|---|---|
| "serverClientId must be provided on Android" | The plugin can't find your web OAuth client | google-services.json needs an oauth_client entry with client_type: 3. If it's missing, add a web app to the project and download the file again, or pass the web client ID to initialize |
| Sign-in reports "canceled" when the user didn't cancel | Sometimes a configuration error | The plugin's docs say some configuration errors come back from Credential Manager as "canceled", and the plugin can't tell them from a real cancel. Check the client IDs, package name and SHA fingerprints |
| Works in debug, fails in release or from Play | The release signing key's SHA isn't registered | Register the signing SHA for each build configuration that fails, including the Play App Signing key shown in Play Console if you use it |
| Sign-in works, but API calls fail with no token | Authentication and authorization are separate steps now | Request them with AuthorizationClient (authorizeScopes in Flutter) |
| Package name mismatch | The Android client in Google Cloud has a different package name | Match the package name in Google Cloud or Firebase to applicationId |
Need a hand?
If sign-in still fails after the move, or it works on your phone but not for your users, the App Fix Ticket covers it in two fixed-price steps. A $450 Diagnosis gives you the root cause with evidence and a fixed repair quote within 3 business days, credited toward the fix. If you go ahead, the $1,200 Fix takes 5 business days. For a related Android change, see SafetyNet is gone: moving to Play Integrity and App Check, or send me a short description.
Frequently asked questions
- Is Google Sign-In for Android deprecated?
- Yes. Google's migration page says legacy Google Sign-In for Android is deprecated and will be removed from the Google Play services Auth SDK (play-services-auth). Google recommends Sign in with Google through Credential Manager instead.
- When will GoogleSignInClient stop working?
- Google's September 2024 timeline put the removal of Google Sign-In for Android in the second half of 2025. Its current migration page, last updated March 6, 2026, says the API will be removed in a future release, without a date. Google says removal comes in a future release, so migrate now.
- What replaced Google One Tap and Smart Lock on Android?
- Credential Manager. Google's One Tap page now says One Tap for Android is deprecated and to migrate to Credential Manager, and the Smart Lock for Passwords page says the same.
- How do I get an access token for Google APIs after the migration?
- Request them in a separate step from sign-in. Credential Manager returns an ID token that proves who the user is. To call Google APIs such as Drive, request the scopes with the AuthorizationClient API, which Google says apps should keep using for authorization.
- Why does Flutter say "serverClientId must be provided on Android"?
- The google_sign_in Android plugin needs your web OAuth client ID. The plugin's documentation says google-services.json should contain a web OAuth client (an oauth_client entry with client_type 3). If it doesn't, add a web app to the project and download the file again, or pass the web client ID as serverClientId when you call initialize.
- Why does Google sign-in work in debug but not in release?
- A common cause is that the release build's signing SHA isn't registered in your Firebase or Google Cloud project. The plugin's documentation lists a missing or wrong SHA as a common cause of sign-in working in one build configuration but not another.
Sources
- Android Developers Blog, "Streamlining Android authentication: Credential Manager replaces legacy APIs" (September 11, 2024)
- Android Developers, about the migration from legacy Google Sign-In
- Android Developers, about Sign in with Google
- Android Developers, implement Sign in with Google
- Android Developers, about Credential Manager
- Android Developers, One Tap for Android (deprecated)
- Android Developers, androidx.credentials releases
- Firebase, authenticate with Google on Android
- pub.dev, google_sign_in_android (Android setup and troubleshooting)
- pub.dev, google_sign_in changelog
- pub.dev, google_sign_in_android changelog
Related Resources
Related guides
SafetyNet Is Gone: Moving to Play Integrity and App Check
Google fully turned down the SafetyNet Attestation API in January 2025, and calls now fail with error code 7. How to move to the Play Integrity API, and how to switch Firebase App Check to its Play Integrity provider, from Google's docs checked October 18, 2026.
Read moreFirebase Deprecations: Every Shutdown Date, 2024 to 2027
Every Firebase shutdown from 2024 to 2027 in one dated table: FCM legacy APIs, Dynamic Links, Firebase Studio, Extensions, Firebase ML model hosting, the FCM InstanceId APIs and Test Lab. What stops working, the deadline, and what to move to, from Firebase's own docs checked October 18, 2026.
Read moreHow to Debug a Flutter and Firebase Bug: Find the Root Cause (2026)
Find the root cause of a Flutter and Firebase bug: reproduce it, read the right logs, isolate it with the Emulator Suite, and fix the five most common issues.
Read more