refactor: Update version to 1.3.0-beta.2 and rename preview methods to scanning #34
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 introduces several enhancements and refactorings to the
@pushpendersingh/react-native-scannerpackage, focusing on improving the barcode and QR code scanning functionality, updating documentation, and refining the example application. The most important changes include adding new features for pausing and resuming scanning, updating the documentation to reflect these changes, and making necessary modifications in the Android and iOS implementations.Enhancements to Scanning Functionality:
ReactNativeScannerViewcomponent, allowing for better control over the scanning process. (android/src/main/java/com/pushpendersingh/reactnativescanner/ReactNativeScannerView.kt,ios/ReactNativeScannerView.mm,src/ReactNativeScannerViewNativeComponent.ts) [1] [2] [3] [4] [5] [6] [7]Documentation Updates:
README.mdto include new examples demonstrating how to use the pause and resume scanning features, and clarified the usage of thepauseAfterCaptureandisActiveprops. (README.md) [1] [2] [3] [4] [5]Example Application Improvements:
example/App.tsx) [1] [2]Version and Dependency Updates:
1.3.0-beta.2and adjusted dependencies accordingly. (package.json,example/package.json) [1] [2]Minor Fixes and Refactorings:
android/src/main/java/com/pushpendersingh/reactnativescanner/ReactNativeScannerView.kt,ios/ReactNativeScannerView.mm) [1] [2]These changes collectively enhance the functionality and usability of the
@pushpendersingh/react-native-scannerpackage, providing developers with more control over the scanning process and improving the overall user experience.