OneSignal/react-onesignal

[Question]: Integrating OneSignal ServiceWorker with existing React Service Worker

risingwolf21 opened this issue · 2 comments

How can we help?

I have an existing Service Worker that was built with the create-react-app workbox. Now I want to add the OneSignal Service Worker and recieve Push Notifications in my React Progressive Web App.

When I start my Application it just reloads all the time, trying to install the OneSignal ServiceWorker and refreshes before it installed.

How do I merge my servie workers? Or what are the steps to add OneSignal to an existing React PWA

Having the same issue, dont know how to merge oneSignal service worker with my current service worker...

By following the instructions in the readme, my apps keeps switching on a loop between my pwa service worker and onesignal service worker.

Does anybody know how to solve this?