Skip to content

Commit 905f136

Browse files
authored
chore(messaging): update inline doc instructions in main.dart to update vapidToken (#11413)
1 parent 5db956d commit 905f136

File tree

1 file changed

+3
-2
lines changed
  • packages/firebase_messaging/firebase_messaging/example/lib

1 file changed

+3
-2
lines changed

packages/firebase_messaging/firebase_messaging/example/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ import 'token_monitor.dart';
2828
/// 2. Run `melos bootstrap` in FlutterFire project.
2929
/// 3. In your terminal, root to ./packages/firebase_messaging/firebase_messaging/example directory.
3030
/// 4. Run `flutterfire configure` in the example/ directory to setup your app with your Firebase project.
31-
/// 5. Run the app on an actual device for iOS, android is fine to run on an emulator.
32-
/// 6. Use the following script to send a message to your device: scripts/send-message.js. To run this script,
31+
/// 5. Open `token_monitor.dart` and change `vapidKey` to yours.
32+
/// 6. Run the app on an actual device for iOS, android is fine to run on an emulator.
33+
/// 7. Use the following script to send a message to your device: scripts/send-message.js. To run this script,
3334
/// you will need nodejs installed on your computer. Then the following:
3435
/// a. Download a service account key (JSON file) from your Firebase console, rename it to "google-services.json" and add to the example/scripts directory.
3536
/// b. Ensure your device/emulator is running, and run the FirebaseMessaging example app using `flutter run`.

0 commit comments

Comments
 (0)