I'm testing a web application, where I came across a button. This button is supposed to start the client's camera application and then allow the user to upload a photo.
As I am testing from a virtual machine, there is no camera application and therefore the button simply does nothing for me.
After some research, I believe that the web application is built with/on cordova
. I do have access to the JavaScript, which I believe, is responsible for the button action - but I can not share the code.
In summary this is what happens:
var client_camera = navigator.camera;
client_camera.getPicture(...)
Is there some way to make the browser/web application think that I do have a camera/camera application and thereby enable the upload of such a picture?
edit: Documentation of the discovered function can be found here