sgrebnov / cordova-plugin-azure-notificationhub

Apache License 2.0
11 stars 36 forks source link

Windows 8 fix on VS2015 #13

Open stevenlivz opened 8 years ago

stevenlivz commented 8 years ago

Hi. Great library :-)

As outlined in my demo using this project a change is needed to make it work:

"There is an issue with this plugin as it stands with VS2015. You must change as follows. In plugins/msopentech.azure.NotificationHub/src/windows8/NotificationHubProxy.js, change

require("cordova/windows8/commandProxy").add("NotificationHub", module.exports);

to

require("cordova/exec/proxy").add("NotificationHub", module.exports);"

I would create a pull request for this but i only have VS2015 and Win 10 so not sure whether making a change would not be backwards compatible.