RafaelBarbosatec / qr_code_dart_scan

A QR code scanner that works on both iOS and Android using dart decoder.
MIT License
15 stars 20 forks source link

ios retrocompat #1

Closed flutter-painter closed 2 years ago

flutter-painter commented 2 years ago

ios black screen on preview : Encountered error "The selected imageFormatGroup is not supported by iOS. Defaulting to brga8888" linked with https://github.com/flutter/flutter/issues/86308 fixed by setting ResolutionPreset to medium l.87 controller = CameraController(camera, ResolutionPreset.medium);

Super repo 👍

RafaelBarbosatec commented 2 years ago

Thanks for this report! I'll adds configuration of the resolution to turn more easy this kind of configuration.

RafaelBarbosatec commented 2 years ago

Now you can pass resolutionPreset in QRCodeDartScanView.