@mleonard9/vin-scanner 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,15 +10,17 @@ High-performance VIN detection for React Native powered by Google ML Kit barcode
|
|
|
10
10
|
|
|
11
11
|
## Requirements
|
|
12
12
|
|
|
13
|
-
- `react-native-vision-camera` >= 4.6.0
|
|
14
|
-
- `react-native-worklets-core` >= 1.3.3
|
|
13
|
+
- `react-native-vision-camera` >= 4.6.0
|
|
14
|
+
- `react-native-worklets-core` >= 1.3.3
|
|
15
15
|
- `react-native-gesture-handler` >= 2.0.0 (for tap-to-focus)
|
|
16
16
|
- `react-native-reanimated` >= 3.0.0 (for tap-to-focus)
|
|
17
17
|
- iOS 13+ / Android 21+
|
|
18
18
|
|
|
19
19
|
## Compatibility
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
This package keeps peer dependency ranges broad so consuming apps can control their React Native, VisionCamera, and Worklets versions.
|
|
22
|
+
|
|
23
|
+
Tested matrix:
|
|
22
24
|
|
|
23
25
|
| Package | Recommended |
|
|
24
26
|
| --- | --- |
|
|
@@ -26,16 +28,20 @@ Tested combinations:
|
|
|
26
28
|
| `react-native-worklets-core` | `1.3.3` |
|
|
27
29
|
|
|
28
30
|
Notes:
|
|
31
|
+
- The package's own dev/test environment stays pinned to the matrix above, but published peer ranges remain open to support newer app stacks.
|
|
29
32
|
- `react-native-worklets-core` `1.6.x` has caused frame-processor HostObject compatibility issues with VisionCamera v4 in some apps.
|
|
30
|
-
- The package includes a frame unwrap compatibility shim
|
|
31
|
-
- If your app is
|
|
33
|
+
- The package includes a frame unwrap compatibility shim to improve compatibility with newer Worklets wrappers.
|
|
34
|
+
- If your app is on newer Worklets or React Native, test carefully and prefer keeping VisionCamera and Worklets aligned to versions already validated in your app.
|
|
32
35
|
|
|
33
36
|
## Installation
|
|
34
37
|
|
|
35
38
|
```sh
|
|
36
|
-
yarn add @mleonard9/vin-scanner
|
|
39
|
+
yarn add @mleonard9/vin-scanner
|
|
37
40
|
# or
|
|
38
|
-
npm install @mleonard9/vin-scanner
|
|
41
|
+
npm install @mleonard9/vin-scanner
|
|
42
|
+
|
|
43
|
+
# If you need a known-good baseline, start with:
|
|
44
|
+
# yarn add react-native-vision-camera@4.7.3 react-native-worklets-core@1.3.3
|
|
39
45
|
|
|
40
46
|
# Optional (for haptic cues)
|
|
41
47
|
# yarn add react-native-haptic-feedback
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mleonard9/vin-scanner",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.9",
|
|
4
4
|
"description": "High-performance VIN scanner for React Native Vision Camera powered by Google ML Kit barcode + text recognition.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"react-native": "*",
|
|
91
91
|
"react-native-gesture-handler": ">=2.0.0",
|
|
92
92
|
"react-native-reanimated": ">=3.0.0",
|
|
93
|
-
"react-native-vision-camera": ">=4.6
|
|
94
|
-
"react-native-worklets-core": ">=1.3.3
|
|
93
|
+
"react-native-vision-camera": ">=4.6",
|
|
94
|
+
"react-native-worklets-core": ">=1.3.3"
|
|
95
95
|
},
|
|
96
96
|
"workspaces": [
|
|
97
97
|
"example"
|