The `expo-google-auth` package, currently at version 0.3.0, offers a dedicated solution for integrating Google authentication into React Native Expo applications. It achieves this by leveraging Google's modern Identity API and Credential Manager, presenting an updated approach to handling user sign-ins compared to traditional methods. While it provides two primary authentication methods, the module explicitly recommends "Method 1" as the latest approach endorsed by Google. A crucial aspect of this library is its current platform limitation: it exclusively supports Android environments. Developers targeting iOS are directed to use `expo-auth-session` for their authentication needs. Launched publicly in November 2025, the package has seen a consistent, albeit minor, release cadence, signaling ongoing development. To function correctly, users must perform essential Google Credentials setup for both Android and web clients, which includes obtaining and configuring a Google Web Client ID. This package aims to simplify Google sign-in workflows specifically for Android within the Expo ecosystem.
npm install expo-google-authVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to initiate Google authentication using the recommended 'GID' method and handle the returned ID token. Includes error handling and prompts for necessary configuration.
For iOS, implement Google authentication using `expo-auth-session` as recommended in the official Expo documentation.
Refer to Google's Identity API documentation and Expo's guides for setting up Google Credentials, ensuring your GWC ID and Android SHA-1 fingerprints are correctly configured.
Always prefer `ExpoGoogleAuth.launchGoogleAuth("GID", gwcId)` for the most current and recommended Google Identity API integration.Verify that your Google Web Client ID is correct, the Android client is registered with the correct package name and SHA-1 fingerprint in the Google Cloud Console, and ensure the API is enabled.
Ensure you are using `import ExpoGoogleAuth from 'expo-google-auth';` in your JavaScript/TypeScript files. If using CommonJS, consider project-wide migration to ESM or using dynamic import.
Run `npm install expo-google-auth` or `yarn add expo-google-auth` in your project directory. Double-check the spelling of the import path.