google_sign_in_ios
6.4.0, released 2 weeks ago by flutter.dev
iOS and macOS implementation of Google Sign-In for Flutter
What it does
Provides native integration for Google Sign-In on iOS and macOS, exposing the same API as the cross-platform google_sign_in package. It handles OAuth flow, keychain sharing, and URL callbacks.
AI-written summary of version 6.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Google Sign-In on iOS or macOS
- You are using the google_sign_in plugin and want native support without adding the package manually
Skip it when
- You target only Android
- You need a custom OAuth flow not supported by GoogleSignIn
Strengths
- Fully endorsed by Flutter team
- Automatic inclusion via google_sign_in, no extra pubspec entry needed
- Supports latest iOS/macOS SDKs and Swift-only implementation
Weaknesses
- Requires manual Info.plist configuration
- Keychain sharing entitlements needed for macOS
- Only supports Google Sign-In, no other providers
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add clientId and optional serverClientId to Info.plist or pass via init; enable keychain-access-groups entitlement on macOS; add CFBundleURLTypes for reverse client ID.
final signIn = GoogleSignIn();
await signIn.signIn();Alternatives
Packages that do the same job and could replace google_sign_in_ios.
- sign_in_with_apple
Apple-specific sign-in to satisfy App Store review requirements
86Compare
Works with
Packages commonly used together with google_sign_in_ios: 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_androidSame familyAndroid implementation of the google_sign_in plugin
- 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.