Phonegap Resolvelocalfilesystemurl Does Not Work For Content Uri On Android
I want to receive share image from Android image gallery using Nexus 4 phone on Android version 5.1.1. I am using phonegap 4.2 and a phonegap WebIntent plugin github link and the
Solution 1:
I have been having the exact same issue, with no direct solution using the standard file plugin.
I tried this plugin however https://github.com/hiddentao/cordova-plugin-filepath which is only for android content uri's.
You use this function instead, and it appears to be working.
window.FilePath.resolveNativePath('content://...', successCallback, errorCallback);
Solution 2:
There's an open bug on the Cordova site about this.
Post a Comment for "Phonegap Resolvelocalfilesystemurl Does Not Work For Content Uri On Android"