alhazmy13 / MediaPicker

Media Picker is an Android Libary that lets you to select multiple images or video
alhazmy13.net
Apache License 2.0
268 stars 86 forks source link

Can't select multiple images / videos even if I've set allowMultipleImages(true) #87

Open ghost opened 5 years ago

ghost commented 5 years ago

I'm working on android SDK level 26.

I tried several time to select multiple images, but I could not it. My release version is 2.4.4

abdulsalam90 commented 5 years ago

same issue here, it works if i use mode(ImagePicker.Mode.CAMERA_AND_GALLERY) but can't select with .mode(ImagePicker.Mode.GALLERY)

bacancy-adilhusen commented 5 years ago

same issue here, while use third-party gallery app

abdulsalam90 commented 5 years ago

@bacancy-adilhusen use this for workaround new ImagePicker.Builder(getActivity()) .mode(ImagePicker.Mode.GALLERY) .compressLevel(ImagePicker.ComperesLevel.MEDIUM) .directory(ImagePicker.Directory.DEFAULT) .extension(ImagePicker.Extension.PNG) .scale(600, 600) .allowMultipleImages(true) .allowOnlineImages(true) .enableDebuggingMode(true) .build();

abdulsalam90 commented 5 years ago

the trick is .allowOnlineImages(true)