How to get MimeType?
Opened this issue · 2 comments
ridsameer commented
I tried using this library today however the asset does not return the MimeType. And neither is it in the extension. I need the mimeType to upload it without using the in-built ajaxHelper.
FrikkieSnyman commented
@ridwansameer Check the resourcesMetadata
array that is returned with the asset. Make sure that you have includeResourcesMetadata: true
in the getAssets
props param, ie:
RNPhotosFramework.getAssets({
...
includeResourcesMetadata: true,
...
});
ridsameer commented
@FrikkieSnyman I tried it with the metaData, however it does not come with it.