> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifique.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure React Native

> How to add push notifications to your React Native app.

<Tip>
  React Native can target Android and iPhone too. Set up credentials in the dashboard (like the building’s front desks), then paste the code in your project.
</Tip>

## In a few words

1. Set up Firebase (Android) and Apple (iPhone) in the Notifique dashboard
2. Install `@notifique/push-react-native` and native Firebase
3. Call `NotifiquePush.init` with your `appId`
4. Build a **native app**. Expo Go alone isn’t enough for real push

## Before you start

| If your app runs on… | Set up first…                                                       |
| -------------------- | ------------------------------------------------------------------- |
| Android              | [Firebase credentials](/en/push-api/integracao/credenciais-android) |
| iPhone               | [Apple credentials](/en/push-api/integracao/credenciais-ios)        |
| Both                 | Both guides above                                                   |

<Note>
  **Expo Go** (quick test app) doesn’t receive real push. Use a dev or production build with Firebase configured.
</Note>

## Step 1: Install

In your project terminal:

```bash theme={null}
npm install @notifique/push-react-native @react-native-firebase/messaging
```

Also complete Firebase setup on Android and iOS (same as native apps).

## Step 2: Start in the app

In JavaScript/TypeScript:

```ts theme={null}
import { NotifiquePush } from '@notifique/push-react-native';

await NotifiquePush.init({ appId: 'YOUR_APP_ID' });
```

Replace `YOUR_APP_ID` with the dashboard ID.

<Note>
  Only `appId` in the app, never API keys in React Native.
</Note>

## Step 3: Test

1. Build the native app (`npx expo run:android` / `run:ios` or equivalent)
2. Open on a real phone and accept notifications
3. Send a test from the dashboard

## Checklist

* [ ] Credentials in dashboard
* [ ] Native Firebase configured (not just Expo Go)
* [ ] `init` with correct `appId`
* [ ] Test on real device

## Next steps

* [Flutter](/en/push-api/integracao/flutter)
* [Native Android](/en/push-api/integracao/android)
* [All guides](/en/push-api/integracao/index)
