You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Probably can skip adding "offline" event listener for service worker, since it's already skipped it for offline, I don't see any harm skipping it for service worker.
Platform:
Device: [e.g. Samsung S8]
OS: [e.g. Android 9.2]
Additional context
I would like to contribute myself but I can't find the exact line to modify. I can find the codes in dist/socket.io.js but I'm not sure if that's the right file.
The text was updated successfully, but these errors were encountered:
Describe the bug
Getting a warning when including socket.io client to service worker:
Event handler of 'offline' event must be added on the initial evaluation of worker script on Service Worker
To Reproduce
Socket.IO server version:
4.7.4
Server
Socket.IO client version:
4.7.4
Client
Expected behavior
Probably can skip adding "offline" event listener for service worker, since it's already skipped it for offline, I don't see any harm skipping it for service worker.
Platform:
Additional context
I would like to contribute myself but I can't find the exact line to modify. I can find the codes in dist/socket.io.js but I'm not sure if that's the right file.
The text was updated successfully, but these errors were encountered: