Pular para o conteúdo principal
Flutter runs on Android and iPhone. Set up both “front desks” (Google and Apple) in the dashboard, then paste one code block in your Flutter project.

In a few words

  1. Set up Firebase (Android) and Apple (iPhone) in the Notifique dashboard
  2. Install notifique_push and Firebase in Flutter
  3. Call NotifiquePush.init with your appId
  4. Test on both phone types if you support both

Before you start

Step 1: Dependencies

In pubspec.yaml:
Then run flutter pub get. Firebase in Flutter follows the same steps as native Android (google-services.json, etc.).

Step 2: Start in the app

In Dart, when the app opens:
Replace YOUR_APP_ID with the Notifique dashboard ID.
Only appId in the app, never API keys inside Flutter.

Step 3: Test

  1. Run on Android or iPhone (real device preferred)
  2. Accept notifications
  3. Send a test from the dashboard

Checklist

  • Credentials in dashboard (Google and/or Apple)
  • Firebase configured in Flutter project
  • init with correct appId
  • Test on real device

Next steps