I just installed the cordova file plugin and it completely breaks my application with this error:
ERROR: Method 'requestAllPaths:' not defined in Plugin 'File'
After googling for several variations of this topic I wasn't able to find anything that addresses this issue. Any ideas?
I am using Cordova 3.5.0 with the file plugin added like this:
cordova plugin add org.apache.cordova.file
I tried adding the optional configuration described in the readme on github but that didn't change anything.
This is the error code that I am getting when I run:
cordova run ios
[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
"File1936338184",
"File",
"requestAllPaths",
[
]
]
I am absolutely clueless as to why this is happening or where.
Somewhere in the App you are making a call to requestAllPaths.
As far as the File API documentation goes there is no such method as requestAllPaths
There is an API called requestFileSystem.
Hope it helps to debug your app
edit1:
You can have a look here for a similar issue.