docs(auth): document free Credential Manager Google Sign-In via react-native#9033
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the documentation for Google Sign-In within the project. It provides developers with a clear, free path to implementing Android Credential Manager by documenting the use of the react-native-nitro-google-signin library. It also clarifies the distinction between the free and paid tiers of the existing Google Sign-In library, ensuring users can make informed decisions regarding their authentication implementation. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the Google Sign-In documentation to introduce react-native-nitro-google-signin as a free alternative supporting Android's Credential Manager, alongside @react-native-google-signin/google-signin. Feedback on the code examples highlights potential runtime errors, specifically recommending the use of optional chaining when accessing response.data and verifying that getAuth().currentUser is not null before calling linkWithCredential.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
9da9b31 to
0e3a310
Compare
…mples Avoid runtime errors when linking Google credentials while no user is signed in.
Summary
react-native-nitro-google-signinas a free (MIT) way to use Google’s latest Android Credential Manager Sign in with Google flow with React Native Firebase, including full FirebasesignInWithCredential/linkWithCredentialexamples.@react-native-google-signin/google-signinonly gets Credential Manager through the paid Universal Sign-In tier; the free publicGoogleSigninAPI still uses the legacy Android SDK (deprecated, no Credential Manager).revokeAccess().Why
Google recommends Credential Manager for Sign in with Google on Android. Many RN Firebase apps already use
@react-native-google-signin/google-signin; upgrading to Universal Sign-In for Credential Manager requires a paid license.react-native-nitro-google-signinoffers the same modern One Tap–style flow on Android (and iOS) at no cost, with Expo support via config plugin—this PR makes that path discoverable in official RN Firebase docs.Test plan
social-authGoogle section (comparison table, nitro install/sign-in/link examples, existing google-signin section unchanged in spirit).docs/auth/usage/index.mdxrevokeAccess note reads correctly next to existing Google Sign-In link.