1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

cleanup push

This commit is contained in:
Kyle Spearrin
2017-10-10 10:55:54 -04:00
parent 04e42c4a75
commit bcbdbb4932
2 changed files with 14 additions and 32 deletions

View File

@@ -105,20 +105,6 @@ namespace Bit.iOS.Services
void OnUnregisteredSuccess();
}
public class UserNotificationCenterDelegate : UNUserNotificationCenterDelegate
{
public override void WillPresentNotification(UNUserNotificationCenter center,
UNNotification notification, Action<UNNotificationPresentationOptions> completionHandler)
{
Debug.WriteLine("WillPresentNotification: {0}", notification);
if(CrossPushNotification.Current is IPushNotificationHandler)
{
//((IPushNotificationHandler)CrossPushNotification.Current).OnMessageReceived();
}
}
}
internal class CrossPushNotification
{
private static Lazy<IPushNotificationService> Implementation = new Lazy<IPushNotificationService>(