Skip to main content

Requirements

Runtime & tooling

RequirementVersion
React Native≥ 0.76Required
react-native-nitro-modulesLatest compatible with your RN versionRequired
Node.js (for tooling)≥ 20Required
Expo≥ 49 — dev client onlyOptional (not Expo Go)
Expo Go is not supported

Why: This library uses Nitro native modules that are not bundled in Expo Go. Use a development build with expo-dev-client.

Platform tooling

ToolWhy
Xcode + CocoaPods (bundle exec pod install --project-directory="ios")Required (iOS)Links GoogleSignIn native SDK from app root
Android Studio, JDK 17+, compile SDK per RN templateRequired (Android)Builds app with Play services dependencies

Google Cloud (all production sign-in)

ItemWhy
Google Cloud / Firebase projectRequiredHosts OAuth clients and config files
Web OAuth clientRequiredwebClientId / backend ID token verification
Android OAuth client + SHA-1Required (Android)Package + certificate match
iOS OAuth client + URL schemeRequired (iOS)Bundle ID + OAuth redirect
google-services.json + Android Gradle pluginRequired for autoDetectAndroid default_web_client_id
GoogleService-Info.plistRequired for autoDetect (iOS)WEB_CLIENT_ID; easiest source for URL scheme
Explicit webClientId in JSOptionalSkips Android JSON + Gradle; SHA-1 + iOS URL scheme still apply
androidx.credentials in your app build.gradleOptional (omit)Bundled by the library; see Credential Manager & GMS
Google Play on device/emulatorRequired (Android)Sign in with Google via Credential Manager needs Play services

Full walkthrough: Google Cloud & config files · Android — Credential Manager.

// Required resources for autoDetect:
GoogleOneTapSignIn.configure({ webClientId: 'autoDetect' })

// Optional path — no google-services.json on Android:
GoogleOneTapSignIn.configure({
webClientId: 'YOUR_WEB_CLIENT_ID.apps.googleusercontent.com',
})