MobisysGmbH / cordova-plugin-mlkit-barcode-scanner

A Cordova barcode scanning plugin based on the Google Mobile Vision library for iOS & Android.
MIT License
19 stars 22 forks source link

Camera permission handling under iOS has problems #5

Closed c-schuhmann closed 3 years ago

c-schuhmann commented 3 years ago

On android, I get asked if I want to enable the camera permission. If I decline it, the plugin displays an error message, that the app can only be used when the camera permission is granted. On subsequent tries, I get a small notification, that camera permission is needed and I get asked for camera permissions again.

On iOS, I only get asked once about the camera permission. If I decline it, there are no error messages, the camera feed stays black. I have to go to the privacy settings and have to grant camera permissions by myself.