Hi,
I have implemented cameraX using this sample,
And also added flash with three option Auto, On & Off.
All options are working well in all other devices except these two device Galaxy S7 and SM J600G.
I captured images with both phone in dark room using flash option Auto and On, result is:
Samsung Galaxy S7 in a dark room with flash On/Auto takes a completely washed out image.
Samsung SM J600G in a dark room with flash On/Auto takes a completely black image.
Used code for flash:
private var flashMode = ImageCapture.FLASH_MODE_AUTO
imageCapture = ImageCapture.Builder()
......
.setFlashMode(flashMode)
.build()
Used library versions:
camerax = 1.0.0-rc01
camerax_view = 1.0.0-alpha20
"androidx.camera:camera-core:${camerax}"
"androidx.camera:camera-camera2:${camerax}"
"androidx.camera:camera-lifecycle:${camerax}"
"androidx.camera:camera-view:${camerax_view}"
Is this any known issue in the library or I'm missing something in the code?
Thanks