Forum Xamarin.Forms

Floating push notification is not working in some android devices.How to fix this?

LakshyaLakshya Member ✭✭✭
edited April 2019 in Xamarin.Forms

I have an app that should show headsup notification while the app is in both foreground and background(not in history). And my sample json data is like this.
"priority": "high",
"notification": {
"title": "Test",
"body": "Mary sent you a message!",
"sound": "default",
"icon": "youriconname"
It's working fine in Redmi 6 pro, but in other device not displaying headsup notification. If I set the notification priority to maximum manually from the device it shows the headsup notificaion. Is there any way to do this dynamically from the code.And also I want to show notification count in the badge


Sign In or Register to comment.