Cordova file plugin toNativeURL

March 25, 2014

In the latest org.apache.cordova.file plugin there is a new method toNativeURL() on FileEntry. You have to use this URL to link to the file in your Cordova App instead of fullPath of toURL().

This took me some time to find and I hope this note will help some people get on the right track.

See also Getting device independent path to an image in Phonegap on StackOverflow.