Skip to content

fix(barcode-scanner): start capture session on a separate thread#3223

Merged
lucasfernog merged 1 commit intov2from
fix/scanner-thread-ios
Jan 19, 2026
Merged

fix(barcode-scanner): start capture session on a separate thread#3223
lucasfernog merged 1 commit intov2from
fix/scanner-thread-ios

Conversation

@lucasfernog
Copy link
Copy Markdown
Member

fixes the given warning:

Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness

which might cause a UI freeze

fixes the given warning:

Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness

which might cause a UI freeze
@lucasfernog lucasfernog requested a review from a team as a code owner January 19, 2026 16:10
@github-actions
Copy link
Copy Markdown
Contributor

Package Changes Through e8db181

There are 4 changes which include updater with minor, updater-js with minor, barcode-scanner with patch, barcode-scanner-js with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.40 2.0.41
api-example-js 2.0.36 2.0.37
barcode-scanner 2.4.3 2.4.4
barcode-scanner-js 2.4.3 2.4.4
updater 2.9.0 2.10.0
updater-js 2.9.0 2.10.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit b60dd88 into v2 Jan 19, 2026
12 checks passed
@lucasfernog lucasfernog deleted the fix/scanner-thread-ios branch January 19, 2026 16:16
mrquantumoff pushed a commit to mrquantumoff/plugins-workspace that referenced this pull request Jan 26, 2026
…ri-apps#3223)

fixes the given warning:

Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness

which might cause a UI freeze
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

Successfully merging this pull request may close these issues.

1 participant