Open dominicarrojado opened 6 years ago
I am using the Push.on('startup', (notification) => {}) function. How do I add in additional data on it when I'm sending notifications?
Push.on('startup', (notification) => {})
as I remember theres a "payload" hidden in notification https://github.com/raix/push/blob/524f23ac3c3c968a237bfbbf1b77f324d5c830bc/lib/client/browser.js#L146
I am using the
Push.on('startup', (notification) => {})
function. How do I add in additional data on it when I'm sending notifications?