feat: Add showBox property and update scanning controls in React Native Scanner #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the barcode scanning functionality, enhancements to the camera control, and improvements to the user interface. The most important changes include adding new commands for flashlight and camera control, updating the dependencies for CameraX and ML Kit, and enhancing the barcode overlay feature.
Enhancements to Camera and Barcode Scanning:
enableFlashlight,disableFlashlight,releaseCamera, andstartCamerato control the camera and flashlight functionalities (README.md,ReactNativeScannerView.kt). [1] [2] [3]MlKitAnalyzerand added a green box overlay around detected barcodes (ReactNativeScannerView.kt). [1] [2] [3]User Interface Improvements:
SafeAreaViewand button styles to improve the layout and user experience (README.md). [1] [2]showBoxprop to display a green box around detected barcodes (README.md).Dependency Updates:
1.5.0-alpha04and ML Kit Barcode Scanning to version17.3.0(android/build.gradle).These changes collectively enhance the functionality and usability of the barcode scanning feature in the application.