Skip to main content

Usage

Without Installation

Run the tool directly using npx:

npx react-native-integrate <package-name>

Example:

# First install the package
npm install @react-native-firebase/app
# Integrate the package
npx react-native-integrate@latest @react-native-firebase/app

With Global Installation

Install the tool globally for easier access:

npm install react-native-integrate@latest -g

Then use the rni command to integrate packages:

# To integrate multiple newly installed packages
rni

# To integrate a specific package
rni @react-native-firebase/app

Benefits

  • Simplifies the process of integrating third-party packages.
  • Automates native code modifications, reducing manual effort.
  • Provides a consistent way to handle integrations across projects.