-
Notifications
You must be signed in to change notification settings - Fork 425
feat(clerk-expo): Implement Google Sign-In support for Android and iOS (#7208) #7538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 668b41b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Important
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
chriscanin
commented
Jan 5, 2026
!snapshot
@clerk/agent-toolkit
npm i https://pkg.pr.new/@clerk/agent-toolkit@7538
@clerk/astro
npm i https://pkg.pr.new/@clerk/astro@7538
@clerk/backend
npm i https://pkg.pr.new/@clerk/backend@7538
@clerk/chrome-extension
npm i https://pkg.pr.new/@clerk/chrome-extension@7538
@clerk/clerk-js
npm i https://pkg.pr.new/@clerk/clerk-js@7538
@clerk/dev-cli
npm i https://pkg.pr.new/@clerk/dev-cli@7538
@clerk/elements
npm i https://pkg.pr.new/@clerk/elements@7538
@clerk/clerk-expo
npm i https://pkg.pr.new/@clerk/clerk-expo@7538
@clerk/expo-passkeys
npm i https://pkg.pr.new/@clerk/expo-passkeys@7538
@clerk/express
npm i https://pkg.pr.new/@clerk/express@7538
@clerk/fastify
npm i https://pkg.pr.new/@clerk/fastify@7538
@clerk/localizations
npm i https://pkg.pr.new/@clerk/localizations@7538
@clerk/nextjs
npm i https://pkg.pr.new/@clerk/nextjs@7538
@clerk/nuxt
npm i https://pkg.pr.new/@clerk/nuxt@7538
@clerk/clerk-react
npm i https://pkg.pr.new/@clerk/clerk-react@7538
@clerk/react-router
npm i https://pkg.pr.new/@clerk/react-router@7538
@clerk/remix
npm i https://pkg.pr.new/@clerk/remix@7538
@clerk/shared
npm i https://pkg.pr.new/@clerk/shared@7538
@clerk/tanstack-react-start
npm i https://pkg.pr.new/@clerk/tanstack-react-start@7538
@clerk/testing
npm i https://pkg.pr.new/@clerk/testing@7538
@clerk/themes
npm i https://pkg.pr.new/@clerk/themes@7538
@clerk/types
npm i https://pkg.pr.new/@clerk/types@7538
@clerk/upgrade
npm i https://pkg.pr.new/@clerk/upgrade@7538
@clerk/vue
npm i https://pkg.pr.new/@clerk/vue@7538
commit: 668b41b
chriscanin
commented
Jan 6, 2026
!snapshot
1 similar comment
chriscanin
commented
Jan 6, 2026
!snapshot
clerk-cookie
commented
Jan 6, 2026
|
Hey @chriscanin - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/chrome-extension@2.8.15-snapshot.v20260106160943 --save-exact
npm i @clerk/clerk-js@5.117.1-snapshot.v20260106160943 --save-exact
npm i @clerk/clerk-expo@2.20.0-snapshot.v20260106160943 --save-exact |
chriscanin
commented
Jan 8, 2026
!snapshot
clerk-cookie
commented
Jan 8, 2026
|
Hey @chriscanin - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/clerk-expo@2.20.0-snapshot.v20260108220629 --save-exact |
Description
This PR implements native Google Sign-In support for Expo iOS and Android apps using the
@react-native-google-signin/google-signinlibrary. This provides a seamless native authentication experience for users signing in with their Google accounts.What's New
useSignInWithGoogle()- Provides native Google Sign-In functionality for iOS and AndroiduseSignInWithGoogle.ios.ts) and Android (useSignInWithGoogle.android.ts)unsafeMetadataduring authenticationKey Features
SIGN_IN_CANCELLEDand-5)Files Changed
packages/expo/src/hooks/useSignInWithGoogle.ts- Cross-platform stub with helpful error messagepackages/expo/src/hooks/useSignInWithGoogle.ios.ts- iOS-specific implementationpackages/expo/src/hooks/useSignInWithGoogle.android.ts- Android-specific implementationpackages/expo/src/hooks/__tests__/useSignInWithGoogle.test.ts- Comprehensive unit testspackages/expo/src/hooks/index.ts- Export new hookpackages/expo/package.json- Add optional peer dependencypackages/expo/vitest.setup.mts- Add test mocks for expo-modules-coreImplementation Details
iOS Implementation:
expo-apple-authenticationfor native Sign-Inoauth_token_applestrategyAndroid Implementation:
@react-native-google-signin/google-signinlibrarygoogle_one_tapstrategy with ID tokenBoth implementations:
{ createdSessionId, setActive, signIn, signUp }unsafeMetadataparameterBreaking Changes
None - this is a new feature.
Test Plan
pnpm test --filter @clerk/clerk-expo)pnpm build)Documentation
Related documentation PR: [Link to clerk-docs PR]
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
New Features
Tests
Chores
✏️ Tip: You can customize this high-level summary in your review settings.