Skip to main content

Installation

Install both this package and react-native-nitro-modules.

npm: react-native-nitro-google-signin

bun add react-native-nitro-google-signin react-native-nitro-modules

Native linking

Autolinking handles Android and iOS. After install, from your app project root:

bundle exec pod install --project-directory="ios"

Run bundle install once first if your app has a Gemfile (included in the default React Native template).

Rebuild your app (Metro alone is not enough for native modules).

Expo

Use a development build — this library does not run in Expo Go.

Follow Expo setup for the config plugin and prebuild.

After install

  1. Complete Google Cloud & config files.
  2. Configure Android and/or iOS.
  3. Call GoogleOneTapSignIn.configure() before any sign-in method — see Quick Start.