Skip to content

Commit d3eafd6

Browse files
Updating 11.2.5002 and fixed a wrong link
1 parent 79f6b7a commit d3eafd6

4 files changed

Lines changed: 66 additions & 3 deletions

File tree

_includes/sidelist-programming/programming-react-native.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
<!-- <li lang="react-native"><a class="otherLinkColour" href="{{ site.dbr_react_native }}driver-license-user-guide.html" style="cursor:pointer;color:#3c3c3c">Driver License Guide</a></li> -->
99
</ul>
1010
</li>
11-
<!-- <li lang="react-native"><a style="cursor:pointer;color:#3c3c3c">Explore Features</a>
11+
<li lang="react-native"><a style="cursor:pointer;color:#3c3c3c">Explore Features</a>
1212
<ul lang="react-native">
1313
<li lang="react-native"><a class="otherLinkColour" href="{{ site.dbr_react_native }}explore-features/ui-customization.html" style="cursor:pointer;color:#3c3c3c">UI Customization</a></li>
14-
<li lang="react-native"><a class="otherLinkColour" href="{{ site.dbr_react_native }}explore-features/advanced-features.html" style="cursor:pointer;color:#3c3c3c">Advanced Features</a></li>
1514
</ul>
16-
</li> -->
15+
</li>
1716
<li lang="react-native"><a href="{{ site.dbr_react_native }}samples/index.html" class="otherLinkColour">Demo &amp; Samples</a></li>
1817

1918
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-scanner/index.html" style="cursor:pointer;color:#3c3c3c" class="otherLinkColour">BarcodeScanner APIs</a>
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
layout: default-layout
3+
title: UI Customization (Foundational Edition) - Dynamsoft Barcode Reader Flutter Edition
4+
description: The UI customization guide for the foundational edition of Dynamsoft Barcode Reader Flutter.
5+
keywords: ui, customization, foundational, Flutter, barcode reader
6+
needAutoGenerateSidebar: true
7+
noTitleIndex: true
8+
---
9+
10+
# UI Customization Guide (Foundational Edition)
11+
12+
One of the advantages of using the foundational edition of the Barcode Reader is that you can customize the UI however you see fit. In this guide we will walk through some of the ways in which you can customize the scanner UI using the Barcode Reader Foundational API.
13+
14+
## Specifying a Scan Region
15+
16+
Use the [`setScanRegion`]({{ site.dce_flutter_api }}camera-enhancer.html#setscanregion) method to limit the scan area:
17+
18+
```js
19+
let scanRegion = {
20+
top: 0.35,
21+
bottom: 0.65,
22+
left: 0.15,
23+
right: 0.85,
24+
measuredInPercentage: true
25+
}
26+
camera.setScanRegion(scanRegion);
27+
```
28+
29+
The scan region is displayed with a mask by default. To hide it, set [`scanRegionMaskVisible`]({{ site.dce_flutter_api }}camera-view.html#scanregionmaskvisible) to `false`.
30+
31+
## Customizing the Camera View
32+
33+
Customizable UI elements on the CameraView include:
34+
35+
- `cameraToggleButton`: A button for switching between front and back facing cameras.
36+
- `scanLaser`: A vertical laser that moves within the scan region.
37+
- `scanRegionMask`: A mask covered outside the scan region.
38+
- `torchButton`: A button for switching on and off the torch.
39+
40+
**Code Snippet**
41+
42+
```js
43+
<SafeAreaView style={StyleSheet.absoluteFill}>
44+
<CameraView
45+
style={StyleSheet.absoluteFill}
46+
ref={cameraView}
47+
// Add a camera toggle button with default position and image.
48+
cameraToggleButtonVisible={true}
49+
// Display the scan laser.
50+
scanLaserVisible={true}
51+
// Scan region mask is displayed by default if you set a scan region.
52+
scanRegionMaskVisible={true}
53+
// Add a torch button with default position and image.
54+
torchButtonVisible={true}
55+
/>
56+
</SafeAreaView>
57+
```

programming/react-native/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ breadcrumbText: Release Notes
99

1010
# Dynamsoft Barcode Reader React Native SDK - Release Notes
1111

12+
- [11.2.5002 (01/22/2026)](react-native-11.md#1125002-01222026)
1213
- [11.2.5000 (12/18/2025)](react-native-11.md#1125000-12182025)
1314
- [11.2.3000 (12/04/2025)](react-native-11.md#1123000-12042025)
1415
- [11.0.5200 (08/18/2025)](react-native-11.md#1105200-08182025)

programming/react-native/release-notes/react-native-11.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ breadcrumbText: Release Notes
99

1010
# Dynamsoft Barcode Reader React Native SDK - Release Notes
1111

12+
## 11.2.5002 (01/22/2026)
13+
14+
### Fixed
15+
16+
- Fixed a crash issue caused by lifecycle management code.
17+
1218
## 11.2.5000 (12/18/2025)
1319

1420
This release includes security maintenance updates to ensure continued protection of the product.

0 commit comments

Comments
 (0)