1. React Native
  2. Release Notes

React Native

Release Notes

v1.5.16 β€” 2025-09-13

πŸš€ Added

  • Headless OCR Prediction Methods New camera-independent prediction methods for processing existing images:
    • predict(): On-device OCR prediction for existing images
    • predictShippingLabelCloud(): Cloud shipping label prediction
    • predictItemLabelCloud(): Cloud item label prediction
    • predictBillOfLadingCloud(): Cloud bill of lading prediction
    • predictDocumentClassificationCloud(): Cloud document classification
    • predictWithCloudTransformations(): Hybrid on-device + cloud prediction

βš™οΈ Changed

  • Updated Native SDKs
    • iOS VisionSDK updated to latest version
    • Android VisionSDK updated to v2.4.16

v1.5.12 β€” 2025-08-27

πŸš€ Added

  • Metadata Support for Logging APIs Enhanced logItemLabelDataToPx and logShippingLabelDataToPx methods with optional metadata parameter for improved data context and tracking.

βš™οΈ Changed

  • Updated Native SDKs
    • Android VisionSDK updated to v2.4.12
    • iOS VisionSDK updated to v1.9.1

v1.5.8 β€” 2025-08-09

βš™οΈ Changed

  • Model Download Status Improvements Fixed model download status reporting and improved readiness handling on Android. Enhanced isReady flag behavior for better loading state management.

πŸ› Fixed

  • Android Model Download Progress Improved accuracy of model download status reporting using isModelAlreadyDownloaded() method.

v1.5.4 β€” 2025-07-28

βš™οΈ Changed

  • Native SDK Updates
    • Upgraded Android Vision SDK to v2.4.6
    • Updated on-headers version for security improvements

v1.5.0 β€” 2025-07-25

πŸš€ Added

  • Android Model Execution Provider Configuration New modelExecutionProviderAndroid prop allows configuration of OCR model execution on Android:
    • CPU: Default CPU execution (most compatible)
    • NNAPI: Android Neural Networks API for hardware acceleration
    • XNNPACK: Optimized CPU execution backend

βš™οΈ Changed

  • Enhanced OCR Response Consistency Improved key consistency across iOS and Android platforms with backward-compatible duplicate keys (e.g., barcode_values and barcodeValues).

πŸ› Fixed

  • OCR Response Inconsistency Addressed inconsistent response keys between iOS and Android platforms while maintaining backward compatibility.

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.