1. React Native
  2. Release Notes

React Native

Release Notes

v1.4.8 β€” 2025-05-12

πŸš€ Added

  • Template-Based Barcode Detection
    New β€œTemplates” mode lets users freeze the camera view and tap on specific barcode types to include or exclude them, targeting only the formats you need.

  • priceTag Scanning Mode & onPriceTagDetected Event
    Dedicated priceTag mode optimized for retail price-tag scanning. Fires an onPriceTagDetected callback with:

    • price (string)
    • sku (string)
    • boundingBox (x, y, width, height)
  • onBoundingBoxesDetected Event
    Emits whenever any barcode or QR code is detected on screen, returning an array of bounding boxes for real-time custom overlay rendering.

βš™οΈ Changed

  • Bump VisionSDK Dependency
    Podspec and Gradle configurations now pin the underlying VisionSDK to v1.8.0.

  • Example App Updates

    • Added TemplateSelectionView.tsx for barcode template selection.
    • Updated ModeSelectionView.tsx and CameraScreen.tsx to support the new modes and events.

πŸ› Fixed

  • TypeScript Types
    Added missing definitions for the onPriceTagDetected handler in src/types.ts.

v1.4.7 β€” Apr 15, 2025

πŸ› Bug Fixes

  • Correct density conversion for focusImageRect on Android to ensure the focus rectangle scales properly across device densities.

v1.4.6 β€” Apr 09, 2025

βš™οΈ Improvements

  • Bumped core and example dependencies (e.g. @babel/helpers, image-size) to address vulnerabilities and keep packages up to date.

πŸ› Bug Fixes

  • iOS setFocusSettings now correctly updates shouldDisplayFocusImage for both true and false.

v1.4.5 β€” Mar 27, 2025

βš™οΈ Improvements

  • Updated peer dependencies to support React NativeΒ β‰₯Β 0.73.0 and ReactΒ β‰₯Β 18.0.0.

v1.4.4 β€” Mar 26, 2025

βš™οΈ Improvements

  • iOS Podspec now pins the VisionSDK pod version automatically, removing the need for manual Podfile overrides.
  • Upgraded Android VisionSDK library for compatibility with Android SDKΒ 23.

v1.4.3 β€” Mar 17, 2025

βš™οΈ Improvements

  • Upgraded native Android VisionSDK to the latest release and added explicit typecasts in the Podspec to satisfy Android Gradle Plugin requirements.

v1.4.2 β€” Mar 06, 2025

βš™οΈ Improvements

  • Security updates: bumped cross-spawn toΒ 7.0.6, @octokit/request-error toΒ 5.1.1, and @octokit/request toΒ 8.4.1.

v1.4.1 β€” Mar 06, 2025

βš™οΈ Improvements

  • Maintenance release with no user‑facing changes.

v1.3.2 β€” Mar 06, 2025

πŸ› Bug Fixes

  • Downgraded Kotlin toΒ 1.9.0 to restore compatibility with AndroidΒ Expo builds.

v1.3.1 β€” Mar 04, 2025

βš™οΈ Improvements

  • Patch release with no significant changes.

v1.3.0 β€” Feb 24, 2025

βš™οΈ Improvements

  1. Refactored imperative handlers (prediction, error reporting, model configuration) to accept additional parameters for greater flexibility.
  2. Optimized event listener registration and teardown to improve performance and prevent memory leaks.

v1.2.2 β€” Feb 13, 2025

βš™οΈ Improvements

  • Reverted an earlier event‑listener optimization to prevent unintended breaking changes.

v1.2.1 β€” Feb 11, 2025

βš™οΈ Improvements

  • Updated the VisionSDK Pod version in iOS Podspec; enforced Yarn by removing stray package-lock.json.

v1.2.0 β€” Feb 11, 2025

βš™οΈ Improvements

  • New shouldResizeImage prop to control whether images are resized before being sent to the SDK.

v1.0.10 β€” Feb 06, 2025

βš™οΈ Improvements

  • Introduced an isReady flag to signal when the model has fully initialized after download, on both iOS and Android.

v1.0.9 β€” Jan 30, 2025

βš™οΈ Improvements

  1. GS1 barcode support with gs1ExtractedInfo for richer barcode metadata.
  2. New ocrType prop to decouple model type selection (e.g. shipping_label, item_label) from ocrMode.
  3. Refactored reportError handler to handle multiple model classes and improved example app performance.
  4. Fixed missing permissions setup for react-native-permissions-lib.