pwa-studio
pwa-studio copied to clipboard
[Docs]: How to implement Push notification in PWA Studio
It will be great if you provide us some steps in Frontend and backend .
Hi @Dencer. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@adobe export issue to Jira project PWA
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-2638 is successfully created for this GitHub issue.
Hi @Dencer - We are tracking this internally, and planning to work on a guide on how this may be done. In the meantime, please reach out to our PWA community Slack channel for additional support.
In order to implement "push notification" in pwa-app, I suggest below libraries would be most suitable - Firebase library and WebPush Library.
Steps to be followed with Firebase library’s implementation -
- Install Firebase.
- Make firebase file.
- Setup account with Firebase.
- register firebase with service worker.
Steps to be followed to implement withPush library -
- write code to check for subscription.
- write code to Subscribe to ( browser's ) PUSH SERVICE.
- write code to send notifications from node.js server ( using Google's webPush Library ).
As above information is provided, hence closing the ticket.
Please feel free to reopen it in case of any update.