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

registering for WP8 not working #220

Open satya-narayan opened 10 years ago

satya-narayan commented 10 years ago

Recently i made cordova wp8 project and integrate the push plugin and followed the documentation but i dint know that to mention in channelName field. So can anyone tell what to mention in channelName field.

And i see that when i call the pushNotification.register() method like pushNotification.register( successHandler, errorHandler, { "channelName": 'MyChannel', "ecb": "onNotificationWP8", "uccb": "channelHandler", "errcb": "jsonErrorHandler" });

it is not going to the register method of PushPlugin.cs atall.

So i dont know what to do.Can anyone tell me how to register and make the notification thing done by using this plugin.

Thanks in advance.

joshilomas commented 10 years ago

I also got same problem. channelName can be anything you want. but the problem is that inside successHandler function only channelName is returned and uri is empty. what uri stands for here??