Send Push Notifications Programmatically Javascript

空扰寡人 提交于 2021-02-11 12:01:56

问题


I have an Angular 2+ app where I have an interface to send Push Notifications to users of an Ionic App. What I want to do is to use the Web interface to send programmatically notifications with Javascript. Has anyone done this before? Can anybody tell me how to do this? I would be really happy to see some code examples but a recommendation where to start and which API/SDK to use would be enough. I really do not want anyone to do this for me but some direction would really help me as I am new to Push Notifications from the Web.

Thank you.


回答1:


You can use Firebase to work with push notifications. There is a tutorial to implement it to you Ionic App. But to send push notification you will need to have a server backend.



来源:https://stackoverflow.com/questions/56258388/send-push-notifications-programmatically-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!