Thunder need dynamic code loading via storage
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
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)
It's probably caused by Flutter
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.