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
After a bit of investigation, it looks like making live preview work when offline in the browser is not possible. Since the current ChromeOS app is a packaged PWA, it will inherit the offline restriction from the browser.
The root cause is that the live preview is a thirdparty domain and lives inside a sandboxed iframe, which cannot use the offline cache and APIs browser wide across the domain due to the sandbox. So there is no way for us to cache the live preview loader pages in an iframe.
But we should be able to fix with with a proper native app for chromeos with a local server once we moved out of the packaged PWA builds for ChromeOS
abose
changed the title
did not preview any file
Live Preview Doesnt work in browser app when offline
Sep 30, 2024
Describe the bug
did not preview my code having this
error
Reproduction
No response
Expected behavior
No response
OS, Browser and Phoenix versions
chromebook
logs or debug stack trace if any
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: