Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以适配一下Android 11 #13

Open
foxcode7 opened this issue Apr 16, 2021 · 1 comment
Open

是否可以适配一下Android 11 #13

foxcode7 opened this issue Apr 16, 2021 · 1 comment

Comments

@foxcode7
Copy link

目前在编辑的时候本地选择的图是没办法预览的。
Android11中Manifest里的:
android:requestLegacyExternalStorage="true"这个配置已经没起到作用。

@AndrewSuan
Copy link

这个问题我也遇到了,捣鼓半天找到了问题所在。
是因为webSetting.setAllowFileAccess这个方法在29及以下默认为true,而在30开始默认为false。
2021-05-15_224737

如下配置就可以了:
richEditor.settings.allowFileAccess = true

或者targetSdkVersion 保持<=29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants