Clement Fradet Normand
Clement Fradet Normand
Hello guys, do you have more updates / insights to fix this problem ? Thanks a lot !
@kortgat can you make a pr about it ?
Thanks a lot @kortgat, do you have any idea of the delay about it ?
> we use https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos as workaround You should also check Capacitor PWA plugins, they directly provide UI components to take a picture, cf https://capacitorjs.com/docs/web/pwa-elements. Btw a native support for camera...
@kortgat it didn't work allowing camera only on `` or `` ?
If you don't put a "capture" key, this will even not open the camera on iOS. Check https://w3c.github.io/html-media-capture/#the-capture-attribute, and input behavior with wkwebview andchrome for android. Do you need more...
cf https://github.com/apache/cordova-plugin-camera/issues/489 and https://github.com/apache/cordova-android/issues/816 which are not exactly about camera capture, but default displayed browser, so different issues.
@WuglyakBolgoink yes i use the `navigator.mediaDevices.getUserMedia` API. It's not perfect, but it makes the job if you parse the medias, and select the one with "rear' and "back" in their...
@alexreardon any news about this feature ?
could be great to put a higher priority on this feature proposition ;)