sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

experimental_enableServiceWorker doesn’t work on mobile safari

Open ynie opened this issue 7 months ago • 0 comments

Bug report

I’m having trouble to serve static files when it’s on mobile safari.

Packages affected

  • [*] sandpack-client
  • [*] sandpack-react

Description of the problem

I confirmed the static file test.yml is at the public folder. When I load the preview on mobile safari the first time, it works. However, it stopped working after I refresh the page. After some time, it will start working again. The same code works fine on desktop Chrome. Any ideas on how to fix this would be great. Thank you!

ynie avatar Mar 26 '25 19:03 ynie