To handle push notifications we are going to create a separate class . This class will initialize the FirebaseMessaging object, whose functions will be used to handle push notifications. Call this class from the initial widget’s initState() method so that we can initialize the FirebaseMessaging at the start.
Read moreHow do I send notifications to specific users in Flutter?
To send a notification, go to Firebase Console → Cloud Messaging and click on Send your first message. Then enter the Title and body field. If you wish to send it to a particular device then click on Send test message and enter the FCM registration token. (Enter the current FCM registration token).
Read moreHow do I send notifications to specific users in Flutter?
To send a notification, go to Firebase Console → Cloud Messaging and click on Send your first message. Then enter the Title and body field. If you wish to send it to a particular device then click on Send test message and enter the FCM registration token. (Enter the current FCM registration token).
Read more