This app uses Google Cloud Messaging (within Firebase) to send push notifications to both iOS and Android devices.
Push notifications are enabled by default in all of our Flutter templates. However, they are set up to work with our staging Firebase project, so you’ll need to switch to your own project, similar to how you’ve done it for Firestore.
To set them up with your own Firebase, all you need to do is to replace the Server Key of the lib/constants.dart file with your own.


const SERVER_KEY = “YOUR_KEY_HERE”;


sendNotification(String token, String title, String body) async {}
sendFcmMessage(String title, String message, String Token)
To identify all the places that trigger push notifications, simply search for this method in the project.