-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Open
flutter/packages
#10473Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.2Found to occur in 2.2Found to occur in 2.2good first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorshas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.The Image Picker plugin.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Description
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.
lathinharoon, Slaine066, SherSahib, ahetawal-p, AJAY-AGARIAN and 10 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.2Found to occur in 2.2Found to occur in 2.2good first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorshas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.The Image Picker plugin.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team