Unhandled Runtime Error

What I’m trying to do:
Load an app offline

What I’ve tried and what’s not working:
Switching to Chrome dev tools and throttling the network.
Restarting the app I get a continuously growing list of unhandled runtime errors.

Unfortunately we get no further information in the app logs since the app is offline.

It appears to come from the service-worker (unsure if this is the Anvil or Anvil Labs SW)

Android throws an error but handles it, iOS crashes completely on some devices (newer software versions)

Some things to check - have you interacted with the page before trying this?

Generally offline apps won’t work unless you’ve previously loaded them while online AND you’ve interacted with the app.
If you haven’t interacted with the App then the browser will likely determine that it is not trusted and will not use the service worker in the same way.

Unfortunately the page has been loaded while online and interacted with.

We think we’ve deployed a fix for this - let us know what you see at your end

2 Likes

Fingers crossed - I think that has done it… I can no longer replicate this but I will wait to see if the guys in the field have the issue reoccur after restarting in good internet coverage.

Thank you very much for the rapid response!

1 Like