FLUTTER ECOSYSTEM

google_sign_in

Flutter plugin for Google Sign-In, a secure authentication system for signing in with a Google account.

Latest version
7.2.0
30-day downloads
2M
Likes
3.6K
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The google_sign_in package is a Flutter plugin that enables secure Google Sign-In for applications across Android, iOS, Web, and macOS. It provides a straightforward API to authenticate users using their Google accounts, handling OAuth 2.0 flows and token management. The plugin supports both web and mobile platforms with consistent behavior, making it ideal for apps requiring quick, reliable user authentication. It integrates seamlessly with Firebase and other backend services.

Use cases
  • User login with Google account
  • Integrating with Firebase Auth
  • Single sign-on across platforms
  • Secure OAuth 2.0 authentication
  • Enabling social login in mobile and web apps
Key features
  • Cross-platform support (Android, iOS, Web, macOS)
  • Secure OAuth 2.0 flow
  • Easy integration with Firebase
  • Token handling and refresh
  • Built-in UI for sign-in prompt
Suitable for
  • Apps needing Google authentication
  • Projects using Firebase
  • Cross-platform apps with unified login
  • Developers seeking simple OAuth implementation
  • Web and mobile apps with shared user base
Considerations
  • Requires Google Cloud project setup
  • Needs correct OAuth client configuration
  • Limited to Google account sign-in
  • May require additional privacy policy for web
  • Platform-specific permissions on mobile
Supported platformsAndroidiOSWebmacOS

Install package

flutter pub add google_sign_in

Categories

Dependencies

Dependency list 4 items
  • google_sign_in_android^7.1.0
  • google_sign_in_ios^6.2.0
  • google_sign_in_platform_interface^3.1.0
  • google_sign_in_web^1.1.0

Source repository

Related projects

Rankings