Is it possible to disable those annoying "retry" and "ok" buttons from top of the display? I can also customize ngCordova plugin if you guide me to a correct direction.
What I want to do is to take multiple shots easily. Now it takes time, because someone have invented that one should confirm if picture is good enough. So another questions is what is suggested way to take multiple pictures and then confirm all of them.
Both of the following lines give same result:
navigator.camera.getPicture()
or
$cordovaCamera.getPicture()
I also had the same requirement for one of my apps.
Here you go
https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview
This plugin exposes a method takePicture() which you will be able to call continuously and get all the pictures into an array or something that you wish.
Go through the plugin documentation for more details on implementation.
For your reference, here is a sample app made with cordova-plugin-camera-preview
https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview-sample-app
To answer your question, the best way of allowing the users to confirm the pictures, I would suggest you that first let user capture as many pictures they want, then you display them in a gallery view, where they can tap on a picture - they will see two options 1.Replace photo 2.Delete photo.
This way, users will have a good user experience.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With