cordova-open
cordova-open copied to clipboard
Android - Mime Type: null
MimeTypeMap.getFileExtensionFromUrl is case sensitive It cannot process .JPG
suggested fix in Open.java:
private static String getMimeType(String path) {
String mimeType = null;
String pathToLower = path == null ? null: path.toLowerCase();
String extension = MimeTypeMap.getFileExtensionFromUrl(pathToLower);
P.S. I'm building my cordova app on windows