CameraView
CameraView copied to clipboard
Flash sync with takePicture on Pixel 6
In Pixel 6 there is an issue about synchronization between setFlash() and .takePicture()
We should take care to await the end of setFlash before calling takePicture, even more important when PictureMetering is off, to synchronize the two events.
- set Flash ON
- set PictureMetering OFF
- capture picture = flash never fire
In my code I setted a delay between setFlash and takePicture as workaround and it works