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 2021/05/29 19:32:17 UTC

[GitHub] [cordova-plugin-camera] PieterVanPoyer commented on issue #481: Unable to open Front camera in ANDROID

PieterVanPoyer commented on issue #481:
URL: https://github.com/apache/cordova-plugin-camera/issues/481#issuecomment-850887656


   As mentioned in the android quirks, the cameraDirection does not work for Android. https://github.com/apache/cordova-plugin-camera#android-quirks-1
   
   There is no official solution for Android to force a back or front camera with the current Intent setup. ( https://developer.android.com/training/camera/photobasics )
   The heavy load of the Camera is delegated to the Camera app and there are some hacks for some devices, but it is not implemented in the Android part. And these hacks do not work reliable in any way.
   
   Off course there are other setups possible when you work directly with the Camera api, but that setup is a lot more challenging.
   That's the setup of https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview 
   
   PR are off course welcome.


-- 
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