gonzaloaune / GCMPushPlugin

Push notifications for Cordova (GCM & Native support)
MIT License
37 stars 20 forks source link

Receive notification parameters not working #22

Open Gurudevdatta opened 8 years ago

Gurudevdatta commented 8 years ago

Receive notification parameters not receiving.Based on the documentation tried same, you will receive in your onNotification method, the extra parameter you pass to GCM in the cURL command: function onNotification(notification) { console.log("Event Received: " + e); // { "extra": {"url" : "someurl.js" } }
} 'e' shows nothing..i tried passing through 'extra' or 'data' but not working...can you please give proper working example of this?..[note: i am checking on android]