Fra*_*ult 6 javascript google-chrome cordova cordova-plugin-file
我使用最新的cordova与浏览器平台(我知道这是一些非常实验性的).
我需要在cordova.file.dataDirectory目录中读写.filePluginIsReady事件在Chrome中正确触发,我将读/写操作放在其回调中.
我使用cordova-plugin-file(最新版),与Firefox和Internet Explorer 11配合使用,但是使用谷歌Chrome,调用window.resolveLocalFileSystemURL总是引发这个FileError:
代码:2消息:"确定某些文件在Web应用程序中访问不安全,或者对文件资源进行了太多调用." 名称:"SecurityError"
我仔细阅读了cordova-plugin-file README以及有关浏览器和chrome的问题(授予大配额,初始化文件系统).
向chrome launcher添加--allow-file-access选项无助于访问filesystem:file:/// persistent /.
使用cordova-plugin文件中Chrome的特定代码,我希望它能完美运行.任何线索?
| 归档时间: |
|
| 查看次数: |
937 次 |
| 最近记录: |