shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Capture image multiple time? And return all image captured is choose? #26

Closed ducpt2 closed 6 years ago

ducpt2 commented 6 years ago

Does this lib has this feature? Many Thanks.

ducpt2 commented 6 years ago

When i use default camera of android device, this camera has button open gallery on the right of button capture image. Does this lib have this option?

liukefu2050 commented 6 years ago

What do you mean?Automatic selection after taking photos?

ducpt2 commented 6 years ago

Sorry i will explain: Capture => Image => Click button OK....(return Gallery). Can we return CameraView, i want to capture more than one image at once time. And image will be checked when capture finish. Can we do that?

liukefu2050 commented 6 years ago

Android default camera, it seems that there is no setting for this parameter

ducpt2 commented 6 years ago

When i using default camera, i can capture multiple time, and can open gallery when i click on the right button of button capture image.

liukefu2050 commented 6 years ago

really can,but ,there is a problem,this way is like using a camera directly,you have to click the return button of the phone to return.if you can accept it, I'll add a parameter for this.

ducpt2 commented 6 years ago

Yes, can we add an option to choose it. Please.

liukefu2050 commented 6 years ago

Please use the latest version,setting the parameter "multipleShot" is ture. like this: ImagePicker.openPicker({ isCamera:true, multipleShot:true, multiple: true }));

ducpt2 commented 6 years ago

@liukefu2050 Many thank to you.

ducpt2 commented 6 years ago

@liukefu2050 Sorry because bother you again. I am using the multipleShot feature, but when i capture image and navigate back from camera screen. The NEW image (i captured) not show up, i guess the gallery screen not reload or update when i capture a new image. Any helps? Thanks.

liukefu2050 commented 6 years ago

Can you provide some of your code?

ducpt2 commented 6 years ago

Here my code:
pickImageGallery = () => { ImagePicker.openPicker({ multiple: true, maxFiles: 100, maxSize: 100, loadingLabelText: "Đang xử lí ảnh...", smartAlbums: ["UserLibrary"], mediaType: "photo", isCamera: true, multipleShot: true })

The gallery can't update new image when i capture a new one(when i click back button on device). :)

ducpt2 commented 6 years ago

@liukefu2050 Sorry i bother you again. I check new version 0.0.37, when i capture image, the rotation of image is wrong. The Image captured is rotation 90 degrees. Can you take a look at this. So many thanks, you are so greate.

liukefu2050 commented 6 years ago

The rotation of image should be the camera function, and there's nothing to do with the components

ducpt2 commented 6 years ago

@liukefu2050 so can you checking about the new image not show up issue?

liukefu2050 commented 6 years ago

I fixed the issue,I'm so sorry and many thanks for your contribution

ducpt2 commented 6 years ago

@liukefu2050 Thanks you so much. :)

ducpt2 commented 6 years ago

@liukefu2050 haha, i just tested version 0.38. It have a small issue, the total image checked number is wrong. :) I am very appreciate your work. Have a nice day.

liukefu2050 commented 6 years ago

How do I reproduce this issue?

ducpt2 commented 6 years ago

@liukefu2050 just capture image in multiShot mode, then back to gallery screen. total image is chosen on button Choose is wrong :)

liukefu2050 commented 6 years ago

I fixed the issue, :)

ducpt2 commented 6 years ago

@liukefu2050 love your work.

16ntu1120 commented 3 years ago

@liukefu2050 there is no suggestion appear when I try to implement multiShot : true property? can you guide me in this regard? I am using latest version of react-native-customized-image-picker@0.2.1. When I capture image it does not show me an option to capture more