Skip to content

Commit c00158c

Browse files
update to v3.2.5001
1 parent 8791a38 commit c00158c

File tree

7 files changed

+19
-5
lines changed

7 files changed

+19
-5
lines changed

ScanDocument/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@react-navigation/native": "^7.1.9",
1414
"@react-navigation/native-stack": "^7.1.9",
15-
"dynamsoft-capture-vision-react-native": "^3.2.5000",
15+
"dynamsoft-capture-vision-react-native": "^3.2.5001",
1616
"react": "19.0.0",
1717
"react-native": "0.79.0",
1818
"react-native-fs": "^2.20.0",

ScanDocument/src/App.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ function App(): React.JSX.Element {
4141

4242
function HomeScreen({navigation}: StackNavigation) {
4343
const [error, setError] = useState<string | null>(null);
44+
// Initialize the license.
45+
// The license string here is a trial license. Note that network connection is required for this license to work.
46+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=cvs&utm_source=samples&package=react-native
4447
const initLicense = () =>
4548
LicenseManager.initLicense('DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9').catch(e => {
4649
console.log('Init license failed. Error: ' + e.message);

ScanMRZ/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13-
"dynamsoft-capture-vision-react-native": "^3.2.5000",
13+
"dynamsoft-capture-vision-react-native": "^3.2.5001",
1414
"dynamsoft-mrz-scanner-bundle-react-native": "^3.2.5000",
1515
"react": "19.0.0",
1616
"react-native": "0.79.0"

ScanMRZ/src/App.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ function App(): React.JSX.Element {
77
const [isError, setIsError] = useState<boolean>(false);
88
const ScanMRZ = async () => {
99
let mrzScanConfig = {
10+
// Initialize the license.
11+
// The license string here is a trial license. Note that network connection is required for this license to work.
12+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=mrz&utm_source=samples&package=react-native
1013
license: 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9',
1114
} as MRZScanConfig;
1215
let mrzResult = await MRZScanner.launch(mrzScanConfig);

ScanVIN/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13-
"dynamsoft-capture-vision-react-native": "^3.2.5000",
13+
"dynamsoft-capture-vision-react-native": "^3.2.5001",
1414
"react": "19.0.0",
1515
"react-native": "0.79.0"
1616
},

ScanVIN/src/VINScanner.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export function ScannerView({onComplete}: ScannerViewProps) {
2424

2525
// License and permission setup
2626
useEffect(() => {
27+
// Initialize the license.
28+
// The license string here is a trial license. Note that network connection is required for this license to work.
29+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=cvs&utm_source=samples&package=react-native
2730
LicenseManager.initLicense('DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9').catch(() => {
2831
// Ignore error here; it will be handled by startCapturing
2932
});

guide-scan-mrz.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ import { MRZScanner, MRZScanResult, MRZScanConfig } from 'dynamsoft-mrz-scanner-
122122

123123
async function scanMRZ() {
124124
const config = {
125+
// Initialize the license.
126+
// The license string here is a trial license. Note that network connection is required for this license to work.
127+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=mrz&utm_source=samples&package=react-native
125128
license: 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9',
126129
} as MRZScanConfig;
127130
const result = await MRZScanner.launch(config);
@@ -188,9 +191,11 @@ import {MRZScanConfig, EnumDocumentType} from 'dynamsoft-mrz-scanner-bundle-reac
188191

189192
const config = {
190193
/**
191-
* The license key required to initialize the MRZ Scanner.
194+
* Initialize the license.
195+
* The license string here is a trial license. Note that network connection is required for this license to work.
196+
* You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=mrz&utm_source=samples&package=react-native
192197
*/
193-
license: "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", //The license string here grants a time-limited free trial which requires network connection to work.
198+
license: "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9",
194199

195200
/**
196201
* Determines whether the torch (flashlight) button is visible in the scanning UI.

0 commit comments

Comments
 (0)