Skip to content Skip to sidebar Skip to footer

Xamarin Android Notification Not Showing In Foreground

I am using Azure Hubs to send notifications. I am able to receive the notification and it displays on the device when I pull down the notifications window. However, I do not see th

Solution 1:

Notification in your system tray will only be displayed if application is in background or turned off. If your application is running, your OnMessageRecieved method will get hit, however Android will not display notification in the system try. This is how life cycle of push notification works in Android. The only way u can display notification in system tray when application in in foreground is when you force Local Notification like you did in SendLocalNotification method.


Post a Comment for "Xamarin Android Notification Not Showing In Foreground"