Post

Replies

Boosts

Views

Activity

Reply to Do iOS Safari ServiceWorkers get shut down due to thermal state?
Hi Yuna - I believe we're running into a similar issue. Our extension will work just fine for long periods of time, but then suddenly stop working for a while. Sometimes it will start working again, but often we need to disable/re-enable the extension. This causing big headaches for the team. In our situation, our website is trying to communicate with the onMessageExternal listener added via the background script. When it's not working, it returns undefined instead of the expected data from the chrome.storage.local. No errors, just silently returning undefined. The issue is hard to reproduce. But with my own device, I tried opening a ton of apps. The extension still worked correctly, but then when I restarted Safari I got the error to reproduce. Not conclusive evidence (maybe the error would have shown up even without starting all the other apps) but gives us something to go on. Would love to hear what people have tried.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’23