Skip to content Skip to sidebar Skip to footer

Azure Push Notification Not Closing After Click When App Is Open

I am using azure push notification for my Xamarin forms app. Its working fine. But in Android when app is open, If I click my notification its not closing. If app is background its

Solution 1:

The notification only shows when the application is in background or closed .

When the application is running , the OnMessageReceived would be triggered but we can't see the notification.

The reason why the notification display is because you send Local Notification in OnMessageReceived method , to solve the problem , don't forget to dismiss it manually after clicking on it .

Refer to

https://stackoverflow.com/a/63037820/8187800.

Post a Comment for "Azure Push Notification Not Closing After Click When App Is Open"