private void HandleOnFirebaseNotificationReceived(Firebase.Messaging.MessageReceivedEventArgs receivedMessage)
        {
            var delivered = receivedMessage.ToCrossPlatformRemoteNotification();

            // Fire event
            if (RemoteNotificationOpened != null)
            {
                RemoteNotificationOpened(delivered);
            }
        }
示例#2
0
        //--------------------------------------------------------
        // 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);
            }
        }