Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: getSupportedFlashModes returns array empty in Android 14 SDK 34 #345 #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryaa
Copy link
Member

@ryaa ryaa commented Dec 18, 2024

Implemented the fix to flip/switch between the main front and back cameras and avoid switching to additional cameras.
Before the flip was switching through all the available cameras, so if flip was invoked twice and there were more then 2 cameras available (for example, on my Samsung A53 there are 4 cameras total), the second flip did not return to the initial camera.

#345

Changes:
- implemented the fix to flip/switch between the main front and back cameras and avoid switching to additional cameras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getSupportedFlashModes returns array empty in Android 14 SDK 34
1 participant