thunder-app / thunder

Thunder - An open-source cross-platform Lemmy client for iOS and Android built with Flutter
https://thunderapp.dev
GNU Affero General Public License v3.0
783 stars 68 forks source link

Thunder need dynamic code loading via storage #1559

Open asimovc opened 1 week ago

asimovc commented 1 week ago

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

hjiangsu commented 4 days ago

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)