typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
13 stars 0 forks source link

Error when accessing from mobile Apple devices #233

Closed isaacew closed 11 months ago

isaacew commented 11 months ago

Description

Using iPad and iPhone from chrome or safari the following error message appears and I am unable to access any projects.

IMG_6125

Reproduction URL

No response

Browsers

Chrome, Safari

OS

iOS or iPad OS

laurmaedje commented 11 months ago

Similar issues:

https://github.com/godotengine/godot/issues/70621 https://github.com/emscripten-core/emscripten/issues/19144 https://bugs.webkit.org/show_bug.cgi?id=255103

We need to limit the maximum amount of memory Typst is allowed to use to some arbitrary number that iOS Safari thinks is okay. Probably around 512MB from initial testing.

reknih commented 11 months ago

We conditionally lowered the memory limit for WebKit on iOS and iPad OS. Due to the nature of the bug, spurious failures are possible. Please report back whether the problem has resolved for you!

isaacew commented 11 months ago

Worked today on iPhone and iPad! Thank you!