Handle native case
(cherry picked from commit 74e38acdfd9181d0557426691fcbcbf0800481ca)
This commit is contained in:
committed by
Samuel Newman
parent
a599a379ba
commit
84a8a31f09
@@ -191,6 +191,7 @@ function getImagePickerAssetType(asset: ImagePickerAsset):
|
||||
* dimensions, so we need to load the file manually to extract this.
|
||||
*/
|
||||
async function getAdditionalVideoMetadata(asset: ValidatedImagePickerAsset) {
|
||||
if (isNative) return asset
|
||||
const file = await fetch(asset.uri)
|
||||
.then(res => res.blob())
|
||||
.then(
|
||||
|
||||
Reference in New Issue
Block a user