Skip to content
pubscout

google_sign_in_android

7.2.19, released 10 days ago by flutter.dev

Android implementation of the google_sign_in plugin

WASM-readyRock solid
$ flutter pub add google_sign_in_android
Source repository

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.

Works with

Packages commonly used together with google_sign_in_android: ones it builds on, ones built on it, and its own family.