I am looking for a event for on notification receive event it looks like this exists in firebase but I can't find a implementation for Xamarin
https://firebase.google.com/docs/cloud-messaging/android/receive
Does this just not exist ?
I am looking for a event for on notification receive event it looks like this exists in firebase but I can't find a implementation for Xamarin
https://firebase.google.com/docs/cloud-messaging/android/receive
Does this just not exist ?
this is covered in the docs
[Service]
[IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })]
public class MyFirebaseMessagingService : FirebaseMessagingService
{
const string TAG = "MyFirebaseMsgService";
public override void OnMessageReceived(RemoteMessage message)
{
Log.Debug(TAG, "From: " + message.From);
Log.Debug(TAG, "Notification Message Body: " + message.GetNotification().Body);
}
}