You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/13 03:43:27 UTC

[GitHub] [cordova-android] breautek commented on issue #916: Bug: input capture="camera" doesn't open camera

breautek commented on issue #916:
URL: https://github.com/apache/cordova-android/issues/916#issuecomment-643562674


   A workaround would be to use the `cordova-plugin-camera` APIs, although with this route, you'd probably want to build your own custom button instead of using the browser's `<input>` tag.
   
   I believe this doesn't work because most of the input file attribute the native app actually needs to intercept and handle it explicitly. It's not "automatic" like the chrome browser. This could be a feature request, but there are some hurdles to jump through. Namely the requirement for apps to declare what features they use, including if they use the camera feature, which is something that the `cordova-plugin-camera` already does... and adding that into the core library is not really feasible imo.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org