private void HandleOnFirebaseNotificationReceived(Firebase.Messaging.MessageReceivedEventArgs receivedMessage) { var delivered = receivedMessage.ToCrossPlatformRemoteNotification(); // Fire event if (RemoteNotificationOpened != null) { RemoteNotificationOpened(delivered); } }
//-------------------------------------------------------- // FirebaseMessaging Event Handlers //-------------------------------------------------------- #if EM_FIR_MESSAGING private void HandleOnFirebaseNotificationReceived(Firebase.Messaging.MessageReceivedEventArgs receivedMessage) { var delivered = receivedMessage.ToCrossPlatformRemoteNotification(); if (!iOSNotificationHelper.IsEMLocalNotification(delivered.content.userInfo)) { // Not EM's local notification RaiseRemoteNotificationEvent(delivered); } }