ideacreation / react-native-barcodescanner

A barcode scanner component for react native - not maintained anymore - use react-native-camera
MIT License
537 stars 162 forks source link

Camera Permissions Not Being Set #57

Open bento-n-box opened 7 years ago

bento-n-box commented 7 years ago

After setting permissions for the app to use the camera, I am not prompted to authorize the camera.

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

Only after I authorize the camera manually am I able to initialize the camera instead of seeing a black screen.

Anuj-786 commented 7 years ago

hey @rochestb, you can access the camera now, after the setting up permission for camera.