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

Crash on google play pre-launch & also on production on clients devices #180

Open
arbelkf opened this issue Mar 2, 2023 · 0 comments
Open

Comments

@arbelkf
Copy link

arbelkf commented Mar 2, 2023

Great job,
I have this error that keeps popping up on google play pre-launch and sometimes on real clients devices.

Exception java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera. (Camera.java:557)
at android.hardware.Camera.open (Camera.java:402)
at com.budiyev.android.codescanner.CodeScanner$InitializationThread.initialize (CodeScanner.java:829)
at com.budiyev.android.codescanner.CodeScanner$InitializationThread.run (CodeScanner.java:815)

I have tried to check the code to see where the problem is - I think that the code on GitHub is different then the one when using the :
implementation 'com.github.yuriy-budiyev:code-scanner:2.3.2'

I am pretty sure that this is not a permissions problem, I check permission before sending the Intent.
maybe try-catch block on this function will be a fast solution.

please help,
Thanks in advance

@arbelkf arbelkf changed the title Crash on google play test & also on production on clients devices Crash on google play pre-launch & also on production on clients devices Mar 2, 2023
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

No branches or pull requests

1 participant