Search code examples
javascriptcordovacordova-plugin-file

cordova-plugin-file does not work well in browser


I am now developing an cordova app which is on platform browser. But I met a problem when using cordova-plugin-file to read a local file. My browser always get an "adding proxy for File" and a "Persistent fs quota granted" in my chrome console.

screenshot of console

I download an example from Cordova-Examples-master in github, but it comes in the same situation. So it seems like a wrong setting bug not bug in my code.

Have anyone met this problem before? Any help is appreciated.


Solution

  • Cordova app should run from WebView control embedded to native mobile Cordova-based application with corresponding plugins compiled. It will not properly work in standalone web-browser, neither on PC nor mobile device.