Handle native case

(cherry picked from commit 74e38acdfd9181d0557426691fcbcbf0800481ca)
This commit is contained in:
Eric Bailey
2025-08-12 16:53:50 -05:00
committed by Samuel Newman
parent a599a379ba
commit 84a8a31f09
+1
View File
@@ -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(