webmaxru / node-red-contrib-web-push

A Node-RED node for sending Web Push notifications using VAPID
https://www.npmjs.com/package/node-red-contrib-web-push
6 stars 7 forks source link

Error: Missing subscriptions #1

Open harshitc opened 6 years ago

harshitc commented 6 years ago

Hi Maxim, I was finding a solution to implement web-notification for my real-time chat application developed on node-red and after a thorough research on google I found the closest solution to implement this feature is this node. But then when I tried your solution then this error occurs "Error: Missing subscriptions" and then I dig deep and got to know about a behind the scene service known as service worker and I kept digging further and as a result, now I am totally confused and don't know where to start or what steps should I take in order to implement this feature. Can you please instruct me how can I implement web notification feature to my chat app. If you can list the steps to achieve the result after installing your node (node-red-contrib-web-push) then it will be useful for me as well as for many others who want to implement web-notification to their node-red project.

Thanks Hc

tunisiano187 commented 3 years ago

I'm having the same problem, do you have a solution ? Thank you

destinyforeverr commented 3 years ago

I am having the same problem, is there a solution available? I even tried to regenerate the Keypairs, but it seems, it is not working.

bartbutenaers commented 3 years ago

Hi @destinyforeverr, I have used some time ago Maxim's nodes, to support web push in the Node-RED dashboard. On my readme you can find some explanation, and there are lots of comments in my code. So that might help you to gain insights in the mechanism. Not that I started (in my example flows) from Maxim's subscription manager function node, but I have adapted it to support more functionality...