mohesu / barcode_scanner

A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
Apache License 2.0
37 stars 27 forks source link

Example app giving permission denied error on macOS. #37

Closed BirjuVachhani closed 1 year ago

BirjuVachhani commented 1 year ago

The library on pub.dev says it supports macOS but when I run the example app on macOS, it throws permission denied exception.

rvndsngwn commented 1 year ago

@BirjuVachhani Thanks for using this package, I'll investigate and resolve as soon as possible.

rvndsngwn commented 1 year ago

Hi @BirjuVachhani, Ensure that you granted camera permission in XCode -> Signing & Capabilities:

https://pub.dev/packages/ai_barcode_scanner#macos