Unable to load image when selected from the gallery on Android 4.4 (KitKat) using PhoneGap Camera Plugin

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];
}

Leave a Comment