[UWP][Desktop Bridge] Push notifications RRS feed

  • Question

  • Hi!
    I want to integrate a push notifications to the my converted application.  But I didn't find anything about it :(
    I know that push notification supports only in UWP applications (converted). 
    I do it like in simple UWP application. 

    var channel = await Windows.Networking.PushNotifications.PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
    if (channel?.Uri != null)
       using (var hub = new NotificationHub(previousInformation.HubName, previousInformation.ListenAccessString))
          await hub.UnregisterAllAsync(channel.Uri).ConfigureAwait(false);
    But haven't namespaces for this. Nuget "WindowsAzure.Messaging.Managed" doesn't supported because main application is WPF.


    Monday, January 23, 2017 4:36 PM


All replies