Home > OS >  Firebase Cloud Messaging - test message not sending
Firebase Cloud Messaging - test message not sending

Time:10-04

I generated the token using final fcmToken = await FirebaseMessaging.instance.getToken(); and put it in the console, then selected it and sent the test message, but nothing showed up on my phone.

CodePudding user response:

Figured it out - these notifications only appear when the app is in the background. I clicked the home button on my phone then sent the test notification and it showed up.

  • Related