Meteor-Community-Packages / raix-push

DEPRECATED: Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox)
https://atmospherejs.com/raix/push
MIT License
515 stars 197 forks source link

How to trigger the notification on device? #193

Closed lnmunhoz closed 8 years ago

lnmunhoz commented 8 years ago

After sent the notification using Push.send, I should use the addListener('message') callback to get the notification? Or it should work just using the send method?

In this demo it uses some cordova plugins in this file and in the client file the message hook display it locally. But this is the right approach?

In my phone, without the message hook I don't receive nothing in my phone... Is this needed or I'm doing something wrong @raix ?

lnmunhoz commented 8 years ago

It was my mistake! Closing...