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
DedicatedpriceTag
mode optimized for retail price-tag scanning. Fires anonPriceTagDetected
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
andCameraScreen.tsx
to support the new modes and events.
- Added
π Fixed
- TypeScript Types
Added missing definitions for theonPriceTagDetected
handler insrc/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 updatesshouldDisplayFocusImage
for bothtrue
andfalse
.
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
- 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
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
- GS1 barcode support with
gs1ExtractedInfo
for richer barcode metadata. - New
ocrType
prop to decouple model type selection (e.g.shipping_label
,item_label
) fromocrMode
. - Refactored
reportError
handler to handle multiple model classes and improved example app performance. - Fixed missing permissions setup for
react-native-permissions-lib
.