You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Initialize the license of Dynamsoft Barcode Reader Flutter edition.
5
+
keywords: license initialization, licensing
6
+
needAutoGenerateSidebar: true
7
+
---
8
+
9
+
# License Initialization
10
+
11
+
## Get a trial license
12
+
13
+
You can request a 30-day trial license via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=docs&package=mobile){:target="_blank"} link.
14
+
15
+
You can contact our support team via the [Contacting Us](https://www.dynamsoft.com/contact/){:target="_blank"} link when your license generation failed.
16
+
17
+
## Get a Full License
18
+
19
+
[Contact us](https://www.dynamsoft.com/company/contact){:target="_blank"} to purchase a full license.
20
+
21
+
## Set the License In the Code
22
+
23
+
### For BarcodeScanner
24
+
25
+
```dart
26
+
var config = BarcodeScannerConfig(license: "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", scanningMode: scanningMode);
description: Initialize the license of Dynamsoft Barcode Reader MAUI edition.
5
+
keywords: license initialization, licensing
6
+
needAutoGenerateSidebar: true
7
+
---
8
+
9
+
# License Initialization
10
+
11
+
## Get a trial license
12
+
13
+
You can request a 30-day trial license via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=docs&package=mobile){:target="_blank"} link.
14
+
15
+
You can contact our support team via the [Contacting Us](https://www.dynamsoft.com/contact/){:target="_blank"} link when your license generation failed.
16
+
17
+
## Get a Full License
18
+
19
+
[Contact us](https://www.dynamsoft.com/company/contact){:target="_blank"} to purchase a full license.
1.Create a new Expo project with the following command:
60
+
Create a new Expo project with the following command:
61
61
62
-
```bash
63
-
npx create-expo-app ScanBarcodes
64
-
cd ScanBarcodes
65
-
```
66
-
67
-
2. Follow the [installation section](#installation) to install the dependencies and generate native projects.
62
+
```bash
63
+
npx create-expo-app ScanBarcodes
64
+
cd ScanBarcodes
65
+
```
68
66
69
67
### Installation
70
68
@@ -109,9 +107,7 @@ cd ..
109
107
110
108
### Implementing the Barcode Scanner
111
109
112
-
New Expo projects use [Expo Router](https://docs.expo.dev/router/introduction/) with a file-based routing system. The main entry point is located in the `app` folder instead of a root `App.tsx` file.
113
-
114
-
Replace the content of `app/(tabs)/index.tsx` with the following code:
110
+
To implement the barcode scanning feature, replace the content of `app/(tabs)/index.tsx` with the following code:
115
111
116
112
```tsx
117
113
import {
@@ -125,7 +121,7 @@ import React, {useEffect, useRef} from 'react';
// The license string here is a trial license. Note that network connection is required for this license to work.
128
-
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=react-native
124
+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=guide&package=react-native
> - The LICENSE string here grants a time-limited free trial which requires network connection to work.
218
-
> - You can request a 30-day trial license via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=guide&package=react-native){:target="_blank"} link.
219
-
> - If you download the <a href="https://www.dynamsoft.com/barcode-reader/downloads/?utm_source=docs#mobile" target="_blank">Installation Package</a>, it comes with a 30-day trial license by default.
213
+
> - The license string here is a trial license. Note that network connection is required for this license to work.
214
+
> - You can request an extension via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=guide&package=react-native){:target="_blank"} link.
description: Initialize the license of Dynamsoft Barcode Reader React Native edition.
5
+
keywords: license initialization, licensing
6
+
needAutoGenerateSidebar: true
7
+
---
8
+
9
+
# License Initialization
10
+
11
+
## Get a trial license
12
+
13
+
You can request a 30-day trial license via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=docs&package=mobile){:target="_blank"} link.
14
+
15
+
You can contact our support team via the [Contacting Us](https://www.dynamsoft.com/contact/){:target="_blank"} link when your license generation failed.
16
+
17
+
## Get a Full License
18
+
19
+
[Contact us](https://www.dynamsoft.com/company/contact){:target="_blank"} to purchase a full license.
0 commit comments