Skip to content

Commit

Permalink
fix: npm run changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcase committed Dec 13, 2024
1 parent 60858c2 commit dbace2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/forty-avocados-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@capacitor-mlkit/barcode-scanning': minor
---

Introduce a serial DispatchQueue for managing AVCaptureSession operations in a FIFO (First In, First Out) sequence. Configuration tasks are encapsulated within a synchronous block to ensure complete setup before proceeding. Following this, startRunning() is scheduled asynchronously, guaranteeing it executes only after the configuration is fully committed.

This approach not only prevents the NSGenericException by ensuring proper sequence of operations but also maintains high performance and responsiveness of the application.

Related PR [fix(barcode-scanning): add delay before starting camera session #188](https://github.com/capawesome-team/capacitor-mlkit/pull/188)

0 comments on commit dbace2e

Please sign in to comment.