Please provide the following:
- SDK Version: 36.0.0
- Platforms(Android/iOS/web/all): Android
I need to get a BLOB file with it’s extension in order to upload to a cloud service.
When I use DocumentPicker.getDocumentAsync();
The response looks like this:
Object {
"name": "NegoNey_Destroi_Catedral",
"size": 471595,
"type": "success",
"uri": "content://com.android.providers.media.documents/document/audio%3A558",
}
||
Object {
"name": "NegoNey_Destroi_Catedral",
"size": 471595,
"type": "success",
"uri": "file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540<user>%252F<app>/DocumentPicker/dd37d0d0-ac5c-4952-a433-eda76281f2a3.",
}
The extension should be .mp3, but It’s not on the response.