Toggle facing breaks continuous focus
Steps to reproduce:
- Start cameraview with focus set on continuous and facing set on back;
- Toggle facing using
cameraView.toggleFacing(); - Camera does not focus anymore, neither in back or front facing.
Calling cameraView.setFocus(CameraKit.Constants.FOCUS_CONTINUOUS) after toggling does not help.
Hi! i have to put CameraKit.Constants.FOCUS_CONTINUOUS as a default Value to make it work.
What do you mean? The continuous focus is working until I toggle the camera between back and front.
Has the cause of this been found yet? I am also able to reproduce this issue on 0.12.1
I found a temporary workaround to get focus working again after switching camera until the underlying issue is resolved.
After changing to the front or back camera:
cameraView.stop()
cameraView.start()
cameraView.setFocus(CameraKit.Constants.FOCUS_CONTINUOUS)
This issue has been resolved in v1.0.0. Closing this issue. If there still are focus issues in 1.0.0 I will make new ticket to keep track!