Meteor-Community-Packages / raix-push

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

I want to pass a custom field in Push.send and read it in Push.addListener #330

Closed batcode007 closed 6 years ago

batcode007 commented 6 years ago

I want to send an id via Push.send and then read it when user clicks on the notification. Is it possible?

mikiand commented 6 years ago

i need the same functionality, how can i add custom url in Push.send() and then on notification tap to catch event in eventListener so i can navigate to proper location on the app when the app is in background. Can someone provide sample!? is that payload is used for? Please give us a hint, there is no documentation about that functionality that is commonly used?!

batcode007 commented 6 years ago

Resolved. Done using payload.