cordova-plugin-camera
cordova-plugin-camera copied to clipboard
Add ability to set timeout for camera to auto-close
Issue Type
- [ ] Bug Report
- [x] Feature Request
- [ ] Support Question
Description
I would like to add timeout capability to auto-close the camera if the user hasn't captured an image in enough time. The use case for this is to cancel if you are in an application that has some kind of session timeout.
Information
Add a parameter called timeoutMs. This will allow the user to set a timeout for the camera/gallery. Null/0/unpassed will do nothing.
Command or Code
N/A
Environment, Platform, Device
N/A
Version information
N/A
Checklist
- [x] I searched for already existing GitHub issues about this
- [ ] I updated all Cordova tooling to their most recent version
- [x] I included all the necessary information above