npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@byldd/expo-google-signin

v1.0.10

Published

Google Sign-In module for Byldd Expo projects

Downloads

26

Readme

@byldd/expo-google-signin

This README provides a step-by-step guide to set up Google Sign-In for Expo projects using the @byldd/expo-google-signin package.


Steps

1. Create a New Expo Project

Run the following command to create a new Expo project:

npx create-expo-app@latest

2. Prebuild the Project

Run the following command to generate the android and ios directories:

npx expo prebuild

This command creates the necessary native directories for iOS and Android.


3. Update app.json File

Add the following plugins to the app.json file:

"plugins": [
  "@react-native-firebase/app",
  "@react-native-firebase/auth",
  "@react-native-google-signin/google-signin",
  [
    "expo-build-properties",
    {
      "ios": {
        "useFrameworks": "static"
      }
    }
  ]
]

4. Create a New Firebase Project

  1. Setup iOS Project

    • For the app bundle ID, go to the app.json file.
    • Inside the ios section, copy the bundleIdentifier and use it to configure the iOS app in Firebase.
    • Note: Do not download GoogleService-Info.plist at this point to avoid the reverse client ID bug.
  2. Setup Android Project

    • For the app bundle ID, go to the app.json file.
    • Inside the android section, copy the package and use it to configure the Android app in Firebase.
    • Note: Do not download google-services.json at this point to avoid the reverse client ID bug.
  3. Generate SHA1 and SHA256 Keys

    • Run the following commands to generate the SHA1 and SHA256 keys:
      cd android && ./gradlew signingReport
    • Copy the SHA1 and SHA256 keys of the debug variant.
  4. Add SHA Keys to Firebase

    • Go to Settings in your Firebase project.
    • Add the SHA1 and SHA256 keys under the project settings.
  5. Enable Google Authentication

    • In Firebase, go to Authentication.
    • Enable the Google provider.
  6. Download Configuration Files

    • Download the GoogleService-Info.plist and google-services.json files from Firebase.
    • Place these files in the root folder of your Expo project.
  7. Update app.json with File Paths

    • Add the path to the GoogleService-Info.plist file in the ios section of the app.json file:
      "ios": {
        "googleServicesFile": "./GoogleService-Info.plist"
      }
    • Add the path to the google-services.json file in the android section of the app.json file:
      "android": {
        "googleServicesFile": "./google-services.json"
      }

5. Install Required Packages

Run the following command to install the required npm packages:

npm install @react-native-firebase/app @react-native-firebase/auth @react-native-google-signin/google-signin expo-build-properties @byldd/expo-google-signin

6. Prebuild the Project Again

Run the following command to ensure all the configurations are applied:

npx expo prebuild

7. Usage Example

Here is an example of how to use the @byldd/expo-google-signin package in your project:

Note: Make sure to pick the client_id with client_type: 3 from your google-services.json file.

import { GoogleSigninService } from "@byldd/expo-google-signin";

const handleGoogleSignin = async (webClientId: string) => {
  try {
    const user = await GoogleSigninService.googleSignIn(webClientId);
    console.log(user);
  } catch (error) {
    console.warn(error);
  }
};

With these steps, you should be able to successfully set up Google Sign-In in your React Native project using the @byldd/expo-google-signin package.

@byldd/expo-google-signin