Closed ppbrasil closed 11 months ago
If I set my method to use GalleryMode.video as
GalleryMode.video
class ImagePickersMediaService implements MediaService { @override Future<List<dynamic>> getObjectsListFromDevice() async { List<imagePickers.Media> listVideoPaths = await imagePickers.ImagePickers.pickerPaths( galleryMode: imagePickers.GalleryMode.video, videoSelectMaxSecond: 1200, selectCount: 10, ); return listVideoPaths; }
the 1200 parameter is respected. But, if I set it to GalleryMode.all as
GalleryMode.all
class ImagePickersMediaService implements MediaService { @override Future<List<dynamic>> getObjectsListFromDevice() async { List<imagePickers.Media> listVideoPaths = await imagePickers.ImagePickers.pickerPaths( galleryMode: imagePickers.GalleryMode.all, videoSelectMaxSecond: 1200, selectCount: 10, ); return listVideoPaths; }
It defaults back to 120
The issue has been dealt with and a new version has been released. image_pickers 2.0.4+4
image_pickers 2.0.4+4
If I set my method to use
GalleryMode.video
asthe 1200 parameter is respected. But, if I set it to
GalleryMode.all
asIt defaults back to 120