Skip to content

Conversation

@MemoryReload
Copy link

@MemoryReload MemoryReload commented Jun 7, 2025

Bugfix:

  1. fix a bug: the qrOutput doesn't get assigned in the startQRCodeDetection, after AVCaptureMetadataOutput creation , which makes stopQRCodeDetection useless.

Feature:

  1. Extend the startQRCodeDetection method with a withTypes parameter to provide the ability to customize the code recognition types instead of the const type array [.qr, .ean8, .ean13, .pdf417]. And also provide a default value with the const types for withTypes parameter to make code compatible with old versions.

Optimize:

  1. Dispatch the session configuration operation into the sessionQueue to make it more efficient (will not affect the main thread).

  2. Make the qrOutput property accessible and type accurate, cause the user may need more configurations with the output (for example, the rectOfInterest).

heping added 2 commits June 6, 2025 19:15
…ation)

2.extend startQRCodeDetection,support customize metadata types and keep compatibility.
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