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 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-expo-signed

v2.1.0

Published

An Expo config plugin for setting up code signing for Android and iOS builds during Expo prebuild.

Readme

📦 React Native Expo Signed

react-native-expo-signed is a custom Expo Config Plugin that automatically injects code signing settings into your native projects for both Android and iOS during the prebuild stage.

  • Android: Copies your keystore file into the project, sets up gradle.properties, and updates build.gradle for release signing.
  • iOS: Updates the Xcode project signing settings (manual or automatic), development team, code sign identity, and provisioning profile only if values are provided.

✨ Features

  • ✅ Single plugin handles both Android and iOS
  • ✅ One clean "plugins" entry in app.json/app.config.js
  • ✅ iOS values are only set if provided (won’t overwrite existing Xcode settings)
  • ✅ Android keystore setup is automated
  • Customizable app_path for Android projects in non-standard directories

📦 Installation

Install using npm:

npm install react-native-expo-signed --save-dev

Or using Yarn:

yarn add -D react-native-expo-signed

⚙️ Usage

In your app.json or app.config.js, add to the plugins array:

Example

{
  "expo": {
    "plugins": [
      [
        "react-native-expo-signed",
        {
          "android": {
            "app_path": "./android/app", // optional, defaults to ./android/app
            "store_file": {
              "key": "MY_UPLOAD_STORE_FILE",
              "value": "my-upload-key.keystore"
            },
            "key_alias": {
              "key": "MY_UPLOAD_KEY_ALIAS",
              "value": "my-key-alias"
            },
            "store_password": {
              "key": "MY_UPLOAD_STORE_PASSWORD",
              "value": "************"
            },
            "key_password": {
              "key": "MY_UPLOAD_KEY_PASSWORD",
              "value": "************"
            },
            "keystorePath": "./src/assets"
          },
          "ios": {
            "CODE_SIGN_STYLE": "Manual",
            "CODE_SIGN_IDENTITY": "\"iPhone Distribution\"",
            "DEVELOPMENT_TEAM": "Team_ID",
            "PROVISIONING_PROFILE_SPECIFIER": "Profile Name"
          }
        }
      ]
    ]
  }
}

📱 iOS Options

| Key | Description | Example | | -------------------------------- | --------------------------------------- | ----------------------- | | CODE_SIGN_STYLE | Signing style (Manual or Automatic) | "Manual" | | CODE_SIGN_IDENTITY | Code signing identity | "iPhone Distribution" | | DEVELOPMENT_TEAM | Apple Developer Team ID | "Team_ID" | | PROVISIONING_PROFILE_SPECIFIER | Provisioning profile name | "Profile Name" |

Behavior: If any of the above keys are missing from ios config, the plugin will not change that setting in your Xcode project.


🤖 Android Options

| Key | Description | Example | | ---------------------- | -------------------------------------------------- | ----------------------------- | | app_path | Path to the Android app directory (optional) | "./android/app" (default) | | store_file.key | Keystore path property name in gradle.properties | "MY_UPLOAD_STORE_FILE" | | store_file.value | Keystore filename | "my-upload-key.keystore" | | key_alias.key | Key alias property name | "MY_UPLOAD_KEY_ALIAS" | | key_alias.value | Alias name | "my-key-alias" | | store_password.key | Store password property name | "MY_UPLOAD_STORE_PASSWORD" | | store_password.value | Store password value | "password123" | | key_password.key | Key password property name | "MY_UPLOAD_KEY_PASSWORD" | | key_password.value | Key password value | "password123" | | keystorePath | Folder path containing keystore file | "./" (default) |


🛠 How It Works

  1. Android:

    • Adds required signing properties to gradle.properties
    • Copies keystore file from keystorePath to app_path
    • Updates build.gradle to use release signing config
  2. iOS:

    • Opens .xcodeproj during prebuild
    • Updates buildSettings keys only if a value is provided
    • Leaves untouched settings alone

📄 License

MIT License