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 imagespredictShippingLabelCloud(): Cloud shipping label predictionpredictItemLabelCloud(): Cloud item label predictionpredictBillOfLadingCloud(): Cloud bill of lading predictionpredictDocumentClassificationCloud(): Cloud document classificationpredictWithCloudTransformations(): 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
logItemLabelDataToPxandlogShippingLabelDataToPxmethods 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
isReadyflag 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
modelExecutionProviderAndroidprop allows configuration of OCR model execution on Android:CPU: Default CPU execution (most compatible)NNAPI: Android Neural Networks API for hardware accelerationXNNPACK: 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_valuesandbarcodeValues).
π 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.priceTagScanning Mode &onPriceTagDetectedEvent
DedicatedpriceTagmode optimized for retail price-tag scanning. Fires anonPriceTagDetectedcallback with:price(string)sku(string)boundingBox(x,y,width,height)
onBoundingBoxesDetectedEvent
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.tsxfor barcode template selection. - Updated
ModeSelectionView.tsxandCameraScreen.tsxto support the new modes and events.
- Added
π Fixed
- TypeScript Types
Added missing definitions for theonPriceTagDetectedhandler insrc/types.ts.
v1.4.7 β Apr 15, 2025
π Bug Fixes
- Correct density conversion for
focusImageRecton 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
setFocusSettingsnow correctly updatesshouldDisplayFocusImagefor bothtrueandfalse.
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-spawntoΒ 7.0.6,@octokit/request-errortoΒ 5.1.1, and@octokit/requesttoΒ 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
- Refactored imperative handlers (prediction, error reporting, model configuration) to accept additional parameters for greater flexibility.
- 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
shouldResizeImageprop to control whether images are resized before being sent to the SDK.
v1.0.10 β Feb 06, 2025
βοΈ Improvements
- Introduced an
isReadyflag to signal when the model has fully initialized after download, on both iOS and Android.
v1.0.9 β Jan 30, 2025
βοΈ Improvements
- GS1 barcode support with
gs1ExtractedInfofor richer barcode metadata. - New
ocrTypeprop to decouple model type selection (e.g.shipping_label,item_label) fromocrMode. - Refactored
reportErrorhandler to handle multiple model classes and improved example app performance. - Fixed missing permissions setup for
react-native-permissions-lib.