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
Dear @AmolGangadhare Describe the bug
I encountered a warning in this barcode package related to the AVCaptureSession startRunning method being called on the main thread. The warning message advises that this method should ideally be called from a background thread to prevent potential UI unresponsiveness. -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
To Reproduce
1- Integrate the Flutter barcode package into a Flutter application.
2- Utilize the package to initiate a barcode scanning process.
3- Observe the warning message related to AVCaptureSession startRunning being called on the main thread.
Expected behavior
The AVCaptureSession startRunning method should be invoked from a background thread to avoid any potential UI unresponsiveness.
Dear @AmolGangadhare
Describe the bug
I encountered a warning in this barcode package related to the AVCaptureSession startRunning method being called on the main thread. The warning message advises that this method should ideally be called from a background thread to prevent potential UI unresponsiveness.
-[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
To Reproduce
1- Integrate the Flutter barcode package into a Flutter application.
2- Utilize the package to initiate a barcode scanning process.
3- Observe the warning message related to AVCaptureSession startRunning being called on the main thread.
Expected behavior
The AVCaptureSession startRunning method should be invoked from a background thread to avoid any potential UI unresponsiveness.
Screenshots
Additional context
Flutter barcode package version:
^2.0.0
iOS version:
iOS 17
Xcode version:
Xcode 15
The text was updated successfully, but these errors were encountered: