Pular para o conteúdo principal
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.

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

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

Step 1: Install

In your project terminal:
Also complete Firebase setup on Android and iOS (same as native apps).

Step 2: Start in the app

In JavaScript/TypeScript:
Replace YOUR_APP_ID with the dashboard ID.
Only appId in the app, never API keys in React Native.

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