Skip to content Skip to sidebar Skip to footer

Why Head-up Notifications Don't Be Shown If App Is Not Running

I implemented Head-up Notifications with fcm. When app receive fcm notification, Head-up notification show up on screen if my app is running. That's good. But if my app is backgrou

Solution 1:

There are two types of FCM messages are available.

  1. Notification messages, sometimes thought of as "display messages."

  2. Data messages, which are handled by the client app.

Notification messages won't show. when your app is not running or killed.

Please check the below link, it will help you.

https://firebase.google.com/docs/cloud-messaging/concept-options

Post a Comment for "Why Head-up Notifications Don't Be Shown If App Is Not Running"