Open ggailey777 opened 9 years ago
Hi Glenn, as mentioned I managed to get WNS working on this sample app. I realized I had to make quite a few changes to get this working. Also, I was using vanilla Cordova framework instead of PhoneGap, because somehow I was unable to update your sample app to use the newer version of the plugins, which was required to make it working. When I get a chance I will create a fork with my working version. If you are going to work on this, please be aware that the PushPlugin at https://github.com/phonegap-build/PushPlugin contains a bug which will break when compiling for Win/WP 8.1. I have created a fork at https://github.com/kenwu27/PushPlugin which contains the fix.
Thanks Ken. I was in the process of converting from PhoneGap to Cordova anyway. Thanks for the tip about the bug in PushPlugin.
Hi @kenwu27, can you tell how you did WNS working?
@kenwu27 : Hi Ken. Could you tell us more about your sample for WNS? Is it also working for Universal Apps based on Cordova? Best Regards
Martin
@Martin-Luckow @wouter-de-boer. I had to make a couple of changes to the code to get it working on WP8.1 and Win8.1. Yes the Win8.1 version work on Win10 desktop and mobile. However, I just found out that PushPlugin has been deprecated. The new plugin is at https://github.com/phonegap/phonegap-plugin-push. The description says it supports Windows Universal, I guess that's all versions. Instead of sharing my solution which is based on the deprecated plugin, I suggest you to try the new plugin.
Here are the updates needed to this sample:
Since the Mobile Services Cordova plugin won't support WNS, we should add it to the PushPlugin-based sample.