Usage
You can use this CLI with or without installation.
1. Without installation
npx react-native-integrate <package-name>
Example
- npm
- Yarn
- pnpm
# First install the package
npm install @react-native-firebase/app
# Then integrate it
npx react-native-integrate@latest @react-native-firebase/app
# First install the package
yarn add @react-native-firebase/app
# Then integrate it
npx react-native-integrate@latest @react-native-firebase/app
# First install the package
pnpm add @react-native-firebase/app
# Then integrate it
npx react-native-integrate@latest @react-native-firebase/app
2. With global installation
First, install this package as globally once.
- npm
- Yarn
- pnpm
npm install react-native-integrate -g
yarn global add react-native-integrate
pnpm add react-native-integrate -g
Then simply run the command to complete the integration:
# To integrate multiple newly installed packages
rni
# or to integrate a specific package
rni @react-native-firebase/app