I am using this approach to try to download a file. But at the 'getFile' call, all I am getting is the error code 9, what should be a permission error.
I am using build.phonegap.com to build my app. In the config file I added the plugins and permissions.
<gap:plugin name="org.apache.cordova.file" />
<gap:plugin name="org.apache.cordova.file-transfer" />
<feature name="http://api.phonegap.com/1.0/file"/>
The phonegap version is 3.1.0. What I am doing wrong?