[###] Description
We have Implemented a PN for Xamarin.Forms Application using Azure Notification Hub, it's perfectly fine in IOS.
In Android we received the PN and when is running then OnMessageReceived event fired and it's working but when my app is in background and when I clicked on Notification it will just open the App not fired the OnMessageReceived Event.
When App is on background it should fire the OnMessageReceived event.
OnMessageReceived not fired when app is on background.
I believe this is expected. Please refer to https://developer.xamarin.com/guides/android/data-and-cloud-services/google-messaging/remote-notifications-with-fcm/#Implement_FirebaseMessagingService.
Note that OnMessageReceived is invoked for notification messages only when the app is running in the foreground. When the app is running in the background, an automatically generated notification is displayed (as demonstrated earlier in this walkthrough).
Thanks!
@Dhaval8087 Next time please do not open issues related to anything but Xamarin Forms. This repository is not your Stack Overflow.