GJW
GJW

Reputation: 195

Web push notifications for web version of Expo project?

I'm working on an expo project and I want to add push notification functionality for the web version (which builds with React Native Web). I'm specifically talking about implementing push notifications that can be sent to users who only use the project in a browser, whether mobile, desktop, or anything in between.

I can't find any info about using service workers or implementing web-push notifs with React Native Web or Expo.

Is there a way to implement web-push functionality for just the RN Web version of my project (preferably alongside Expo push notifs, which will be for the native versions)?

Upvotes: 5

Views: 5148

Answers (1)

red
red

Reputation: 1629

the web notifications are in pending status in the new notifications api, I hope that in the near future the notifications will work by default. https://docs.expo.io/versions/latest/sdk/notifications/

Maybe you can try to do as follow:

Upvotes: 3

Related Questions