Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated API Usage in flashMode Warning on iOS 10.0+ #82

Open
iwasaki1112 opened this issue May 2, 2024 · 2 comments
Open

Deprecated API Usage in flashMode Warning on iOS 10.0+ #82

iwasaki1112 opened this issue May 2, 2024 · 2 comments

Comments

@iwasaki1112
Copy link

I've encountered a deprecation warning when using the [barcode_scan2] package on iOS.
The warning is related to the use of flashMode which was deprecated in iOS 10.0. The specific warning message is:

'flashMode' was deprecated in iOS 10.0: Use AVCapturePhotoSettings.flashMode instead.

This occurs in the file BarcodeScannerViewController.swift at line 47.
It would be beneficial for compatibility and future-proofing the package if this could be updated to use the recommended AVCapturePhotoSettings.flashMode API.

Could you please look into updating this or provide guidance on how this might be resolved?
Thank you for your support and for maintaining this useful package!

Best regards

@yousan
Copy link

yousan commented May 2, 2024

👍

@ManuelW77
Copy link

is something happening with this depreciation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants