apache / cordova-android

Apache Cordova Android
https://cordova.apache.org/
Apache License 2.0
3.59k stars 1.52k forks source link

Camera is not working #1646

Closed toufiqpathan closed 6 months ago

toufiqpathan commented 8 months ago

When i have update the API level target from 11 to 12, everything is working fine expect camera, when we click on camera permissions dialog is appearing, but camera is not coming up. @breautek could you please check this ASAP

christiaan commented 8 months ago

As far as I know there is nothing related to camera in this repository.

Do you maybe have problems with cordova-plugin-camera? There is a PR there waiting to be merged https://github.com/apache/cordova-plugin-camera/pull/844 that fixes the camera in Android 13 sdk.

breautek commented 6 months ago

@breautek could you please check this ASAP

I just want to take a moment to inform you that I do not work for Apache, I volunteer my (free) time to Apache. So I don't necessary do things for Apache "ASAP".

When i have update the API level target from 11 to 12

I assume you mean Android 11 to 12, which is API 30 to 32 (or 31, android 12 has 2 API levels).

As far as I can remember there are no changes between these API levels, but there were changes in Android 13/API 33, which the latest camera plugin supports.

The Cordova Android platform does not support camera out of the box, a camera plugin must be installed to interact with the camera. So if you have an issue with the camera, with the Apache Camera plugin, it will be better to create an issue there with the issue form filled out.

Closing this issue because it's not related to the cordova android platform.