cordova-plugin-camera
cordova-plugin-camera copied to clipboard
feat(browser): automatically click on file input field
Platforms affected
Browser
What does this PR do?
Skip the step to load an image from file system when camera.getPicture() ought to load file from the file system (not take it from camera)
What testing has been done on this change?
I've run npm test.
Actually, there is no test for browser platform. However these changes are used in a real project.
This won't work in some browsers afaik, for example in Safari.
Just a note, may be helpful to know.
Let's rerun this with current tests.