Update
i found that is issue caused when use targetSdkVersion 29
In some devices i faced this issue in both versions (3.4.3 and 3.5.5-alpha) that i cannot capture any photos or video i got those errors in log but the camera opened correctly
and the exception passed to addCameraErrorListener is UnsupportedOperationException
No supported camera found for facing 1 Failed to open camera with id 'default'
and note that the permissions required for opening the camera and storage is enabled
Expected behavior
i can capture the photos or videos
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Update i found that is issue caused when use targetSdkVersion 29
In some devices i faced this issue in both versions (3.4.3 and 3.5.5-alpha) that i cannot capture any photos or video i got those errors in log but the camera opened correctly
and the exception passed to
addCameraErrorListener
is UnsupportedOperationException No supported camera found for facing 1 Failed to open camera with id 'default' and note that the permissions required for opening the camera and storage is enabledExpected behavior i can capture the photos or videos
Using ProGuard
Device :
Branch Name (if using as a local module)