Answer the question
In order to leave comments, you need to log in
How to make camera usage confirmation in JavaScript?
Hello!
I am currently working with Corodova and at the moment there is a very complex service written in Angular for the desktop and I need to open this site in a mobile application on Cordova (as if by an internal Cordova browser).
I used a simple function "window.open("...")".
Inside the application there is a "Take a picture" function, but it does not work for me, because I need to confirm the use of the camera, and since there is no address bar in cordova, the window for allowing the use of the camera does not appear. Who faced this, how did you solve it? Is it possible to do validation on JS?
Answer the question
In order to leave comments, you need to log in
there seems to be an InAppBrowser plugin in cordova, dig towards it.
Perhaps in the config file of your Cordova project, you should indicate that the application needs access to the camera.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question