hello,
i’m having a lot of pain trying to find a way to get mimetype of a file with ionic3. It seem there is no way to get mimetype in the doc https://ionicframework.com/docs/native/file/
I am opening a chooser tab, can get the file back, but there is nothing to get mimetype
...
.then(() => {
return this.fileChooser.open()
}).then((uri) => {
return this.filePathFinder.resolveNativePath(uri)
}).then((filePath) => {
this.filePath = filePath;
return this.file.resolveLocalFilesystemUrl(filePath)
}).then((rslt) => {
////there is nothing related to mimetype in rslt
})
Any advice ? thanks