barcode_scan2 icon indicating copy to clipboard operation
barcode_scan2 copied to clipboard

[Bug] 'flashMode' was deprecated in iOS 10.0

Open sarahk opened this issue 2 years ago • 2 comments

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:

  1. Open in Xcode
  2. 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

sarahk avatar Sep 02 '21 00:09 sarahk

Any update on this issue? I got 'flashMode' was deprecated in iOS 10.0: Use AVCapturePhotoSettings.flashMode instead

Version barcode_scan2: ^4.2.0

haizadvnet avatar May 31 '22 07:05 haizadvnet

same issue :(

dmitry-seven avatar Feb 03 '24 20:02 dmitry-seven