I am developing hybrid mobile application. In one of the scenario we need to fetch mimeType from a file when we select or upload a file.
Android side perfectly work but ios side not working (this.File.resolveLocalFilesystemUrl).ios related solution available or not ?
this.File.resolveLocalFilesystemUrl(fileUri).then((entry: Entry) => {
if (entry) {
var fileEntry = entry as FileEntry;
fileEntry.file(success => {
var mimeType = success.type;
}, error => {
// no mime type found;
});
}
});
I am developing hybrid mobile application. In one of the scenario we need to fetch mimeType from a file when we select or upload a file.
Android side perfectly work but ios side not working (this.File.resolveLocalFilesystemUrl).ios related solution available or not ?