google_sign_in_android
7.2.19, released 10 days ago by flutter.dev
Android implementation of the google_sign_in plugin
What it does
Provides the Android-specific implementation for the google_sign_in plugin, utilizing the underlying Android CredentialManager SDK and Google Identity APIs for authentication.
AI-written summary of version 7.2.18, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are implementing Google Sign-In in a Flutter application targeting Android
- You need to interact directly with the Android-specific APIs of the google_sign_in package
Skip it when
- You are developing for platforms other than Android without needing platform-specific dependency management
- You prefer using higher-level authentication providers like Firebase Auth exclusively without direct Google sign-in flows
Strengths
- Automatically included when using the endorsed google_sign_in package
- Updated to use modern Android CredentialManager SDK and Kotlin implementation
Weaknesses
- Requires precise platform-side configuration (SHA signing keys, package names, web OAuth client IDs)
- Certain underlying CredentialManager errors can manifest as generic cancellation errors
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Register your application using Firebase or Google Cloud Platform, enable OAuth APIs like Google People, and ensure a web OAuth client entry is configured.
// This package is an endorsed federated plugin.
// Usually, you simply use the `google_sign_in` package normally without adding this to pubspec.yaml unless calling its APIs directly.Alternatives
Packages that do the same job and could replace google_sign_in_android.
- firebase_auth
Flutter plugin for Firebase Authentication enabling passwords, phone numbers, and identity providers.
99Compare - extension_google_sign_in_as_googleapis_auth
Creates googleapis_auth AuthClient from GoogleSignIn credentials.
79Compare - keycloak_wrapper
Keycloak Single Sign-On authentication package for Flutter.
76Compare - google_sign_in_all_platforms
Google Sign-In plugin supporting all platforms including Windows and Linux desktop.
74Compare
Works with
Packages commonly used together with google_sign_in_android: ones it builds on, ones built on it, and its own family.
- google_fontsSame familyFlutter package to load Google Fonts at runtime or bundle them as assets
- google_sign_in_iosSame familyiOS and macOS implementation of Google Sign-In for Flutter
- google_maps_flutter_androidSame familyAndroid implementation of the google_maps_flutter plugin.
- google_maps_flutter_iosSame familyiOS implementation of the google_maps_flutter plugin.
- google_maps_flutterSame familyA Flutter plugin for integrating Google Maps in Android, iOS, and web applications.
- google_maps_flutter_webSame familyWeb platform implementation of google_maps_flutter.
- google_identity_services_webSame familyDart JS-interop wrapper for Google Identity Services Web SDK
- google_maps_flutter_ios_sdk10Same familyiOS implementation of the google_maps_flutter plugin using Google Maps SDK 10.