Quantcast
Channel: Windows 8.1 Installation, Setup, and Deployment forum
Viewing all articles
Browse latest Browse all 5362

Register Push Notification Channel during Windows 8.1 Setup

$
0
0

I have a Windows 8.1 Store app that I'm building that will be preloaded by an OEM. The app received WNS Push Notifications and I need the app to call PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync() in order to get a Push Notification Channel and send the resulting Channel.Uri and the app's DeviceId (from calling HardwareIdentification.GetPackageSpecificToken) to a web service to use for sending Push Notifications. The problem is there seems to be no way to get the app's Channel and DeviceId without the user first running the app manually. Are there an Windows 8.1 Install/Setup OEM integration options that can help me get this information from the preloaded application without the user having to run the application? I have a Windows Service that is also being preloaded by the OEM but it doesn't seem possible to have the Windows Service register the Push Notification Channel for the Windows 8.1 Store app, nor can it get the app's DeviceId. Between the Windows Service and any Install/Setup integration is there a way to essentially "prime" the Push Notification Channel for my Store app?

Thanks for any help,

-Robert


Viewing all articles
Browse latest Browse all 5362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>