Skip to content Skip to sidebar Skip to footer

FCM Heads Up Notification

Tried all forums, but still can't make it work. Heads up notification is not working. Tried max and high priority and vibrate full screen content, nothing is working. Using Android

Solution 1:

Finally, i found the solution. In cordova-fcm plugin MyFireBaseMessagingService.java file onMessageReceived method - below line is commented(send notification).

sendNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody(), remoteMessage.getData());

Hope it helps someone. I uncommented this line and added the priority it works fine.


Post a Comment for "FCM Heads Up Notification"