blikoon / QRCodeScanner

Android QR Code scanning library : QR Scanning library based on zxing for android devices API 15 and up
153 stars 98 forks source link

Request Camera Permissions Internally #7

Open rutura opened 6 years ago

rutura commented 6 years ago

//TODO

Keatooon commented 5 years ago

Have to enable it manually in the app setting :(

tobiasKaminsky commented 5 years ago

@Keatooon you can request permission via

ActivityCompat.requestPermissions(activity,
                                          new String[]{Manifest.permission.CAMERA},
                                          PERMISSIONS_CAMERA);
VansonLeung commented 4 years ago

There is no need to implement from Library, but by just stating how to request for permission manually inside README.md is already enough.