A kind of really-very-dirty workaround works for me while this bug is fixed. Use in case of extreme necessity 🙂
if (imageURI.substring(0,21)=="content://com.android") {
photo_split=imageURI.split("%3A");
imageURI="content://media/external/images/media/"+photo_split[1];
}
More Related Contents:
- “No Content-Security-Policy meta tag found.” error in my phonegap application
- How to use Google Analytics with Phonegap without a plugin?
- Cordova, why would InAppBrowser plugin be required to open links in system browser
- Should a phonegap plugin be declared in the config.xml file?
- Cordova InAppBrowser – How to disable URL and Navigation Bar?
- How to handle Push notification when application is resumed?
- Share something to a phonegap app
- How to add app icon within phonegap projects?
- ionic 2 – Error Could not find an installed version of Gradle either in Android Studio
- Cordova : Requirements check failed for JDK 1.8 or greater
- How permanent is local storage on Android and iOS?
- Is there a difference between PhoneGap and Cordova commands?
- Add entry to iOS .plist file via Cordova config.xml
- How can I specify the minimum SDK in phonegap? It is ignoring android-minsdkversion in config.xml
- CORS and phonegap apps
- Flickering when navigating between pages
- Phonegap Plugin:How to convert Base64 String to a PNG image in Android
- Ionic2 authentication firebase
- Xamarin 2.0 vs Appcelerator Titanium vs PhoneGap [duplicate]
- Generating iOS and Android icons in Cordova / PhoneGap
- How i can set User Agent in Cordova App
- error: could not find gradle wrapper within android sdk. might need to update your android sdk
- How to add a local cordova plugin with ionic / ionic 2 / ionic 3 / ionic 4 / ionic 5?
- iOS9 ATS: what about HTML5 based apps?
- Asynchronous communication between Javascript and Phonegap Plugin
- Use PhoneGap to Check if GPS is enabled
- PhoneGap iOS, how to get app “Documents” folder full path?
- Showing camera view inside html in android and then snap a picture
- Not able to launch a pdf file in inappbrowser in android
- Building combined armv7/x86 apk after Crosswalk integration in an Ionic project