thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Thunder need dynamic code loading via storage

Open asimovc opened this issue 1 year ago • 3 comments

Bug Description

GrapheneOS have added options to restrict the use of webview jit, dcl via memory and dcl via storage. Thunder don't work when the option DCL vi storage is restricted. This error appears

type: memory_DCL
osVersion: google/lynx/lynx:14/AP2A.240905.003/2024090400:user/release-keys
package: com.hjiangsu.thunder:66

DCL denial type: DENY_EXECMEM

Expected Behaviour

App just open normally

Steps to Reproduce

Enable restrict in DCL via storage in GrapheneOS in the app info

Additional Context

No response

App Version

0.5.1

Device

Pixel 7a

OS

GrapheneOS 2024090400

asimovc avatar Sep 15 '24 20:09 asimovc

Thanks for the report - unfortunately, I don't have a reliable way to reproduce this as I don't have access to a physical Android device with GrapheneOS.

As an aside (for other devs), I'm not sure if this issue is caused by the Flutter framework, or in an external package. I don't believe Thunder itself requires DCL at all (but I might be incorrect)

hjiangsu avatar Sep 24 '24 16:09 hjiangsu

It's probably caused by Flutter

codenyte avatar Jan 10 '25 16:01 codenyte

Thunder also crashes with DCL from memory, which is far more important to restrict. This indicates that it runs code not inside the app but from the web.

DCL from storage sounds unnecessary to block.

boredsquirrel avatar Apr 29 '25 16:04 boredsquirrel