1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

fixes for UWP

This commit is contained in:
Kyle Spearrin 2017-12-14 10:19:50 -05:00
parent e90501a986
commit c180422e8b
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>Bit.App</RootNamespace>
<AssemblyName>BitwardenApp</AssemblyName>
<NeutralLanguage>en-US</NeutralLanguage>
</PropertyGroup>
<ItemGroup>

View File

@ -31,7 +31,7 @@ namespace Bit.UWP.Services
Debug.WriteLine("Registering call back for Push Notification Channel");
_channel.PushNotificationReceived += Channel_PushNotificationReceived;
CrossPushNotification.PushNotificationListener.OnRegistered(Token, Device.Windows);
CrossPushNotification.PushNotificationListener.OnRegistered(Token, Device.UWP);
}
private void Channel_PushNotificationReceived(PushNotificationChannel sender, PushNotificationReceivedEventArgs args)
@ -59,7 +59,7 @@ namespace Bit.UWP.Services
}
Debug.WriteLine("Sending JObject to PushNotificationListener " + args.NotificationType);
CrossPushNotification.PushNotificationListener.OnMessage(jobject, Device.Windows);
CrossPushNotification.PushNotificationListener.OnMessage(jobject, Device.UWP);
}
public void Unregister()
@ -70,7 +70,7 @@ namespace Bit.UWP.Services
_channel = null;
}
CrossPushNotification.PushNotificationListener.OnUnregistered(Device.Windows);
CrossPushNotification.PushNotificationListener.OnUnregistered(Device.UWP);
}
}