phonegap-build / PushPlugin

This repository is deprecated head to phonegap/phonegap-push-plugin
https://github.com/phonegap/phonegap-plugin-push
MIT License
1.31k stars 996 forks source link

Pushplugin in Windows Phone 8.1 #536

Open henkkelder opened 9 years ago

henkkelder commented 9 years ago

Current implementation of PushPlugin does not work with Windows Mobile 8.1

The cullpit is line 160 in PushPlugin.cs which currently is:

cView.Browser.InvokeScript("execScript", callback + "(" + callbackResult + ")");

For the plugin to work with WP81 this line has to be modified to:

cView.Browser.InvokeScript("eval", callback + "(" + callbackResult + ")");

cezaryto commented 9 years ago

Thank you very much. It works! I can view the URI from the WNS...