yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.09k stars 266 forks source link

Black camera screen on startPreview() until the screen is touched #174

Closed mdemori closed 1 year ago

mdemori commented 1 year ago

Hi,

I've a strange behavior, even with all right permissions for camera, seem that the startPreview() don't start until the screen is touched by the user.

The camera capture window appear but is black until the screen is touched, after the screen is touched the camera became active.

There is a way to activate the camera immediately?

thank you