yuriy-budiyev / code-scanner

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

I cannanot scan by using phone camera #154

Closed sarowarhosen03 closed 2 years ago

sarowarhosen03 commented 2 years ago

Screenshot_20220407-130700 kindly see this screenshot. why cannot scan

Gl0deanR commented 2 years ago

Try with these in your AndroidManifest.xml file

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />

This is how it works for me.

sarowarhosen03 commented 2 years ago

Try with these in your AndroidManifest.xml file

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />

This is how it works for me.

Am add this. My main errror is am not take permission by pakckagemanager . Now it solved

Gl0deanR commented 2 years ago

Try with these in your AndroidManifest.xml file

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />

This is how it works for me.

Am add this. My main errror is am not take permission by pakckagemanager . Now it solved

Awesome! Please close the issue now so others can see it is solved and see the solution if they need it.

sarowarhosen03 commented 2 years ago

Try with these in your AndroidManifest.xml file

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />

This is how it works for me.

Am add this. My main errror is am not take permission by pakckagemanager . Now it solved

Awesome! Please close the issue now so others can see it is solved and see the solution if they need it.

Okay ❤️