BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.builder.io
MIT License
13.01k stars 432 forks source link

A warning on the screen after notification from firebase push notification #289

Open productdevbook opened 1 year ago

productdevbook commented 1 year ago

v0.7.1 used.

Installation everything works perfectly. Only when a new notification comes, we see the notification on the firebase side, but partytown prints a different bug console from the back.

I don't understand why you did this.

image

partytown-sandbox-sw.html?1667377936091:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
    at r (partytown-sandbox-sw.html?1667377936091:2:28)
    at U (partytown-sandbox-sw.html?1667377936091:2:3167)
    at ServiceWorkerContainer.<anonymous> (partytown-sandbox-sw.html?1667377936091:2:7892)
productdevbook commented 1 year ago

v0.7.5 same