Skip to content

Releases: pushpender-singh-ap/react-native-scanner

1.2.0

18 May 09:40
f1606f4
Compare
Choose a tag to compare

v1.2.0 Released (18 May 2024)

This update introduces several significant changes to the project. Firstly, it adds GitHub issue templates for bug reports, feature requests, and questions, aiming to streamline the process of issue creation and ensure that all necessary information is provided upfront. This enhancement is crucial for maintaining an organized and efficient workflow in addressing issues and implementing new features.

Secondly, the update removes some GitHub Actions workflows, such as setup actions and CI workflows, and introduces new ones like semantic PR checks, stale issue/PR handling, and version checks. These changes are designed to improve the automation of project maintenance tasks, ensuring that pull requests follow semantic naming conventions, and helping manage stale issues and PRs more effectively.

Another notable addition is the implementation of a flashlight feature for the React Native Scanner on both Android and iOS platforms. This feature allows users to enable or disable the flashlight while using the scanner, which can be particularly useful in low-light conditions. The update includes changes to the native code on both platforms to support this functionality, as well as modifications to the React Native bridge to expose the flashlight commands to JavaScript.

The documentation in the README.md file has been updated to include information about the new flashlight feature, providing examples of how to use it. This ensures that users are aware of the new functionality and how to integrate it into their applications.

Lastly, the update includes minor adjustments such as updating the package version and modifying the package manager version in package.json, reflecting the ongoing development and improvement of the project.

What's Changed

Full Changelog: 1.1.0...1.2.0

1.2.0-beta.1

17 May 13:48
0384acf
Compare
Choose a tag to compare

v1.2.0-beta.1 Released (17 May 2024)

This update introduces significant enhancements to the @pushpendersingh/react-native-scanner package, notably the addition of a flashlight feature for Android devices and the ability to release the camera resources properly. Key changes include:

  • Flashlight Feature for Android: The README.md has been updated to document a new flashlight feature that allows users to turn the flashlight on and off, enhancing the barcode and QR code scanning experience in low light conditions. This feature is specifically designed for Android devices and is detailed under the "Flashlight Feature (Android Only)" section with comprehensive usage examples.

  • Camera Release Functionality: To improve resource management, a new function releaseCamera has been introduced, ensuring that camera resources are properly released when the component is unmounted or no longer in use. This is particularly important for preventing app crashes and ensuring that the camera can be used by other components or applications thereafter.

  • Documentation Updates: The README.md file has been significantly expanded to include instructions for enabling the new architecture on iOS, detailed examples of basic usage, and a dedicated section for the newly introduced flashlight feature. This includes code snippets and explanations for permissions handling, enabling/disabling the flashlight, and ensuring proper camera permission is granted.

  • Code Enhancements: On the code side, modifications include updates to the ReactNativeScannerView Kotlin class to support flashlight operations (enableFlashlight and disableFlashlight) and camera release (releaseCamera). Corresponding commands have been added to the ReactNativeScannerViewManager Kotlin class and the ReactNativeScannerViewNativeComponent TypeScript definition to expose these functionalities to React Native.

  • Version Bump: The package version has been updated to 1.2.0-beta.1 to reflect these new features and improvements.

These changes aim to enhance the usability and functionality of the @pushpendersingh/react-native-scanner package, making it a more versatile tool for React Native developers looking to integrate barcode and QR code scanning capabilities into their applications.

What's Changed

Full Changelog: 1.1.0...1.2.0-beta.1

1.1.0

04 May 16:05
4448221
Compare
Choose a tag to compare

v1.1.0 Released (04 May 2024)

What's Changed

New Contributors

Full Changelog: 1.0.2...1.1.0

Release 1.0.2

07 Aug 06:22
56424d5
Compare
Choose a tag to compare

v1.0.2 Released (07 Aug 2023)

Bug Fix

  • Added multiple QR code support for IOS (a86d877 by luvnishCapgemini)
  • Added command to enable the new architecture in IOS in the readme file. (b15668c)

Release 1.0.1

23 Mar 10:19
c7928fd
Compare
Choose a tag to compare

v1.0.1 Released

A QR code & Barcode Scanner for React Native Projects.

For React Native developers that need to scan barcodes and QR codes in their apps, this package is a useful resource. It supports React Native's new Fabric Native architecture and was created in Kotlin and Objective-C.

With this package, users can quickly and easily scan barcodes and QR codes with their device's camera. Using this package, several types of codes can be scanned, and it is simple to use.

If you want to provide your React Native app the ability to read barcodes and QR codes, you should definitely give this package some thought.

  • Clarify the requirement.
  • Example application fix for macOS environment.

Release 1.0.0

04 Mar 14:29
40bf959
Compare
Choose a tag to compare

v1.0.0 Released

A QR code & Barcode Scanner for React Native Projects.

For React Native developers that need to scan barcodes and QR codes in their apps, this package is a useful resource. It supports React Native's new Fabric Native architecture and was created in Kotlin and Objective-C.

With this package, users can quickly and easily scan barcodes and QR codes with their device's camera. Using this package, several types of codes can be scanned, and it is simple to use.

If you want to provide your React Native app the ability to read barcodes and QR codes, you should definitely give this package some thought.