更新时间:2022-12-29 11:18:16
Android 4.4 中图像的 URI 编码出现了问题.
Something broke in Android 4.4 with the URI encoding of images.
此处针对 Cordova 提交了一个错误:https://issues.apache.org/jira/browse/CB-5398
A bug has been filed against Cordova here: https://issues.apache.org/jira/browse/CB-5398
在 getPicture 的文档中,在 Android 下Quicks 部分,它讨论了这个问题,并指出了一个 *** 问题和一个解决方法(编辑相机插件 java 代码以强制它打开图库应用程序而不是存储访问框架应用程序.)
In the docs for getPicture, under the Android Quicks section, it discusses this problem and points to a *** question with a workaround (edit the Camera plugin java code to force it to open the Gallery app instead of the Storage Access Framework app.)
似乎您可以做的另一件事是将目标类型设置为 DATA_URL.
It seems another thing you could do is set the destination type to DATA_URL.