FirebasePushNotificationPlugin icon indicating copy to clipboard operation
FirebasePushNotificationPlugin copied to clipboard

How to force popup on Android

Open treyconley opened this issue 4 years ago • 1 comments

I have everything working like I want, but I have to go into settings on the android device and select show popup. Is there a way to default this option? I've tried setting "priority" = "high" and I've also used FirebasePushNotificationManager.DefaultNotificationChannelImportance = NotificationImportance.High but neither forces the notification to display the popup.

treyconley avatar Aug 29 '20 20:08 treyconley

In your data payload you need to send this key value pair

{ "priority": "high"} 

themronion avatar Nov 11 '20 20:11 themronion