I use Phonegap 3.3.0, before I used 2.5.0, where entry.fullPath will provide the full path to the device. These paths usually look like
/var/mobile/Applications/<application UUID>/Documents/path/to/file (iOS)
/storage/emulated/0/path/to/file (Android)
since this method is deprecated using the entry.toURL () method to get the path. This method will now return the file system URLs of the form
cdvfile:
In My application, I pass the URL of the Native function to and from the native file that opens the file. But if I go all the way to Native, iOS will not be able to detect the file. Same thing. If I set the Absolute path hard, the application detects the file.
How to use the file system URL to access the file in its own or any other method to get the absolute path to the device?
Thanks in advance.