mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 462 forks source link

iOS : Glitch when disabling camera permission #76

Closed BozidarK93 closed 5 years ago

BozidarK93 commented 5 years ago

When camera permission is disabled from settings there is a glitch that appears when we try to scan the qr code again.

Steps to reproduce:

  1. Start scanning for qr code and accept camera permissions.
  2. Go to Settings and disable camera permission for that app.
  3. Start scanning for qr code again.

Expected. It should ask for camera permission Actual A glitch appears for 1 seconds and dismisses the camera view without showing permission dialog.

Environment: iPhone 7, iOS 12.1

BozidarK93 commented 5 years ago

Will close this one. I did not implement the PlatformException so the glitch appeared.