[🐛] When selected Video from gallery, it return empty assets
See original GitHub issueDescription
When selected Video from gallery, it return empty assets
this is assets results for Image and Video notice the image it return data, but for the video it return empty
// IMAGE RESPONSE
{"assets": [{"fileName": "D43A3052-6B02-442F-B98A-A413E2DED5E1.png", "fileSize": 274762, "height": 2778, "type": "image/png", "uri": "file:///Users/joejo/Library/Developer/CoreSimulator/Devices/2AEE8E68-6F0A-4F8B-8E0B-8FFC3AB1E4EB/data/Containers/Data/Application/A147F518-B676-4FB3-B73B-FFD7E7448E7E/tmp/D43A3052-6B02-442F-B98A-A413E2DED5E1.png", "width": 1284}]}
// Video Responnse
{"assets": []}
How to repeat issue and example
const options = {
includeExtra: true,
selectionLimit: 1,
mediaType: 'mixed',
includeBase64: true,
}
ImagePicker.launchImageLibrary(options, setResponse);
Additional Information
- Image Picker version: 4.8.4 and also tried 4.8.0
- React Native version: 0.64.1
- Platform: IOS, Not tested on Android
- Development Operating System: MacOS 12.4 - M1 Max
- Dev tools: Xcode 13.3.1 - iOS 15.4
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
swift - How to fix empty asset issue with PHImageManager in ...
Problem : When I am selecting multiple Videos or sometimes single video then sometimes my App is crashing due to Empty Video Asset...
Read more >Empty Photo Asset Results After Sa… | Apple Developer Forums
This appears to be new behavior, and wanted to confirm this is a bug. To reproduce: 1) Enable limited photo library permissions in...
Read more >ImagePicker - Expo Documentation
expo-image-picker provides access to the system's UI for selecting images ... Represents an asset (image or video) returned by the image picker or...
Read more >Using Video and Image Assets Inside a Flutter App - LinkedIn
This article is simply about how to display images and play videos on your flutter app using network or local assets.
Read more >The <video> and <source> tags - web.dev
You've properly prepared a video file for the web. ... the browser can select a video source without having to download part of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same, and only for simulators. Definitely because of M1, on Intel it works fine
same here