Azure / azure-mobile-services-cordova

Apache License 2.0
23 stars 25 forks source link

Register Notification Hub for Windows Notification Service #7

Closed AlexFromGPec closed 9 years ago

AlexFromGPec commented 9 years ago

In my Cordova APP, I cannot use this plugin to register notification hub for Windows Notification Service, but it's ok for Android GCM & iOS APNS. Does this plugin support push notifications for Cordova app on Windows 8.1 using WNS?

danderson00 commented 9 years ago

The cordova plugin uses the web version of Mobile Services (as opposed to the WinJS version) which does not support WNS notifications at this time. The Mobile Apps Javascript client SDK will support WNS when it is released. You can vote for this feature on the UserVoice site (http://feedback.azure.com/forums/216254-mobile-apps-formerly-mobile-services).

candidodmv commented 8 years ago

@danderson00 What is your suggest to succeed with this implementation on windows 8.1 with Windows Notification Service (WNS) ?

candidodmv commented 8 years ago

@phvannor could you help us?

phvannor commented 8 years ago

Long term we'd like everyone to use the newer push APIs on the 2.0 JS SDK (https://github.com/Azure/azure-mobile-apps-js-client) but that is not yet GA and requires using a Mobile App backend.

In the meantime if you are using services, the proposed PR is what I've recommended anyone do that really needs WNS. (That method doesn't work for secondary tiles, but that isn't a huge deal)

I'm not opposed to taking the PR, but we do need to move the changes over to the -services repo so its in the raw source not just in this repo which is more a release vehicle. We probably will not though add any test automation/etc on it, so it will be supported but untested from our point of view.