Steps to Reproduce
- Utilizing image_picker: ^0.7.5+3
- Using iPhone 12, iOS 14, Android Google Pixel, Android 10.
Code:
var pickerFile = await ImagePicker() .getVideo(source: source, maxDuration: Duration(seconds: 30));
Expected results:
If you choose 'Camera' and record a video, the pub WILL limit it to 30 seconds (as per code above).
However, if you choose 'Gallery', it will display videos that are OVER 30 seconds.
I swear this package used to limit that so you could only see videos in the Gallery that are 30 seconds or less.
Actual results:
Videos in Gallery that are over 30 seconds are available for selection. They shouldn't be as per the maxDuration param.
Anybody else experiencing this? Any resolutions?
Logs
Flutter Doctor is fine. N/a.
Steps to Reproduce
Code:
var pickerFile = await ImagePicker() .getVideo(source: source, maxDuration: Duration(seconds: 30));Expected results:
If you choose 'Camera' and record a video, the pub WILL limit it to 30 seconds (as per code above).
However, if you choose 'Gallery', it will display videos that are OVER 30 seconds.
I swear this package used to limit that so you could only see videos in the Gallery that are 30 seconds or less.
Actual results:
Videos in Gallery that are over 30 seconds are available for selection. They shouldn't be as per the maxDuration param.
Anybody else experiencing this? Any resolutions?
Logs