DEV Community

Discussion on: Web Push Notification with web-push | Angular & Node JS

Collapse
 
steve_payne_990e4d747fd32 profile image
steve payne

Thank you for this example! Everything works for me perfectly when using a text payload!

But.. When I try to use the JSON.stringify(payload) with the payload example for a link and onActionClick.. the message comes through as json_encoded.

How do you fix this? I can't seem to get a link to come through so the push message is clickable.