You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
camera_avfoundation has swift warning endability of function types in instance method 'setExposureTargetBias(_:completionHandler:)' does not match requirement in protocol 'CaptureDevice' #194599
/Volumes/Work/s/w/ir/x/w/packages/packages/camera/camera_avfoundation/darwin/camera_avfoundation/Sources/camera_avfoundation/CaptureDevice.swift:90:1: error: sendability of function types in instance method 'setExposureTargetBias(_:completionHandler:)' does not match requirement in protocol 'CaptureDevice'; this is an error in the Swift 6 language mode
extension AVCaptureDevice: CaptureDevice {
^
/Volumes/Work/s/w/ir/x/w/packages/packages/camera/camera_avfoundation/darwin/camera_avfoundation/Sources/camera_avfoundation/CaptureDevice.swift:47:8: note: expected sendability to match requirement here
func setExposureTargetBias(
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[camera_avfoundation] Fixes sendability mismatch in completion handler (
github-actions commentedon Oct 31, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.