This plugin allows you to resolve the native filesystem path for Android content URIs and is based on code in the aFileChooser library.
Original inspiration from StackOverflow.
$ cordova plugin add cordova-plugin-filepath
- Android
Once installed the plugin defines the window.FilePath
object. To resolve a
file path:
window.FilePath.resolveNativePath('content://...', successCallback, errorCallback);
Apache (see LICENSE.md)