Ejemplo n.º 1
0
        private void HandleOnFirebaseNotificationReceived(Firebase.Messaging.MessageReceivedEventArgs receivedMessage)
        {
            var delivered = receivedMessage.ToCrossPlatformRemoteNotification();

            // Fire event
            if (RemoteNotificationOpened != null)
            {
                RemoteNotificationOpened(delivered);
            }
        }
Ejemplo n.º 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);
            }
        }