pwa-studio icon indicating copy to clipboard operation
pwa-studio copied to clipboard

[Docs]: How to implement Push notification in PWA Studio

Open Dencer opened this issue 2 years ago • 4 comments

It will be great if you provide us some steps in Frontend and backend .

Dencer avatar Jul 28 '22 04:07 Dencer

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


m2-assistant[bot] avatar Jul 28 '22 04:07 m2-assistant[bot]

@adobe export issue to Jira project PWA

anthoula avatar Jul 28 '22 20:07 anthoula

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-2638 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Jul 28 '22 20:07 github-jira-sync-bot

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.

anthoula avatar Aug 02 '22 19:08 anthoula

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 -

  1. Install Firebase.
  2. Make firebase file.
  3. Setup account with Firebase.
  4. register firebase with service worker.

Steps to be followed to implement withPush library -

  1. write code to check for subscription.
  2. write code to Subscribe to ( browser's ) PUSH SERVICE.
  3. write code to send notifications from node.js server ( using Google's webPush Library ).

Tarun50745 avatar Jul 05 '23 05:07 Tarun50745

As above information is provided, hence closing the ticket.

Please feel free to reopen it in case of any update.

glo82145 avatar Jul 05 '23 07:07 glo82145