Skip to content

Impossible to load Lit client in some web browsers #830

@ranile

Description

@ranile

Is there an existing issue for this?

  • I have searched the existing issues

SDK version

7.0.4

Lit Network

DatilDev

Description of the bug/issue

WebAssembly.Compile is disallowed for modules over 4KB on some browsers on main thread. Lit SDK uses this method and thus is not loadable

See:

Note that this only has only popped up when loading lit sdk in chrome on android when running in webview for me. User agent as indicated by browser is: Mozilla/5.0 (Linux; Android 13; Pixel 4a Build/TQ3A.230805.001.S2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.123 Mobile Safari/537.36

Severity of the bug

Unable to load lit at all

Steps To Reproduce

Try to sign a message inside a webview on an android phone with chrome as browser

Link to code

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions