facundomedica / fast_qr_reader_view

A Fast QR Reader widget for Flutter. For both Android and iOS
MIT License
295 stars 163 forks source link

Permission request methods #22

Closed Vanethos closed 2 years ago

Vanethos commented 5 years ago

Added 3 methods to ask for the camera permissions in Android and iOS

Future<PermissionStatus> requestCameraPermission() requests the camera permissions

Future<PermissionStatus> checkCameraPermission() checks the status of the current camera permissions

Future<void> openSettings() opens the native setting screens

facundomedica commented 2 years ago

Thanks for the contribution! I just finished the first step to a big refactor, take a look!