barcode_scan2
barcode_scan2 copied to clipboard
[Bug] 'flashMode' was deprecated in iOS 10.0
BUG REPORTS WITHOUT PROVIDING THESE INFORMATIONS WILL BE CLOSED DIRECTLY. DON'T REMOVE THE SECTIONS!
Describe the bug Deprecation warning when building the app.
To Reproduce Steps to reproduce the behavior:
- Open in Xcode
- Product | Build
Expected behavior Expected no issues
Screenshots If applicable, add screenshots to help explain your problem.
Logs
If applicable, add the verbose output of flutter run
.
Environment (please complete the following information):
- [ ] iOS? Version: 12+
- Version of
barcode_scan
: 4.1.4 - Output of
flutter --version
:
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (9 weeks ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4
Additional context Only a warning but will limit the lifespan of apps using the package
Any update on this issue? I got 'flashMode' was deprecated in iOS 10.0: Use AVCapturePhotoSettings.flashMode instead
Version barcode_scan2: ^4.2.0
same issue :(