private static void NotificationReceivedCallback(Notification localNotification)
        {
            ForegroundReceivedNotifications.Add(localNotification);

            SavePendingNotifications();

            NotificationReceivedEvent(localNotification);
        }
        private static void OnNotificationReceived()
        {
            var notificationJavaObject =
                GetNotificationManager().GetStatic <AndroidJavaObject>("LastReceivedNotification");
            var localNotification = (Notification)ParseNotificationFromAndroidJavaObject(notificationJavaObject);

            ForegroundReceivedNotifications.Add(localNotification);

            NotificationReceivedEvent?.Invoke(localNotification);
        }