Skip to content

Commit 465f28e

Browse files
Merge pull request #295 from dynamsoft-docs/preview
update to internal commit 8e5d4c5f
2 parents 9434d00 + 6eba134 commit 465f28e

File tree

3 files changed

+51
-51
lines changed

3 files changed

+51
-51
lines changed

_config.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
repositoryUrlMobile: https://github.com/dynamsoft-docs/barcode-reader-docs-mobile/blob/main
1+
repositoryUrl: https://github.com/dynamsoft-docs/barcode-reader-docs-mobile/blob/main
22
repository: dynamsoft-docs/barcode-reader-docs-mobile
33
docFullPath: https://www.dynamsoft.com/barcode-reader/docs/mobile/
44
firstLevelUrl: /barcode-reader/docs/mobile
@@ -123,78 +123,56 @@ defaults:
123123
- scope:
124124
path: "programming/android"
125125
values:
126-
category: "mobile-repo"
127-
edition: "mobile"
128126
docRootName: "Barcode Reader Android Edition"
129127
docHomePage: "/barcode-reader/docs/mobile/programming/android/"
130128
- scope:
131129
path: "programming-old/android"
132130
values:
133-
category: "mobile-repo"
134-
edition: "mobile"
135131
docRootName: "Barcode Reader Android Edition"
136132
docHomePage: "/barcode-reader/docs/mobile/programming/android/"
137133
- scope:
138134
path: "programming/objectivec-swift"
139135
values:
140-
category: "mobile-repo"
141-
edition: "mobile"
142136
docRootName: "Barcode Reader iOS Edition"
143137
docHomePage: "/barcode-reader/docs/mobile/programming/objectivec-swift/"
144138
- scope:
145139
path: "programming-old/objectivec-swift"
146140
values:
147-
category: "mobile-repo"
148-
edition: "mobile"
149141
docRootName: "Barcode Reader iOS Edition"
150142
docHomePage: "/barcode-reader/docs/mobile/programming/objectivec-swift/"
151143
- scope:
152144
path: "programming/flutter"
153145
values:
154-
category: "mobile-repo"
155-
edition: "mobile"
156146
docRootName: "Barcode Reader Flutter Edition"
157147
docHomePage: "/capture-vision/docs/mobile/programming/flutter/"
158148
- scope:
159149
path: "programming/react-native"
160150
values:
161-
category: "mobile-repo"
162-
edition: "mobile"
163151
docRootName: "Barcode Reader React Native Edition"
164152
docHomePage: "/capture-vision/docs/mobile/programming/react-native/"
165153
- scope:
166154
path: "programming/cordova"
167155
values:
168-
category: "mobile-repo"
169-
edition: "mobile"
170156
docRootName: "Barcode Reader Cordova Edition"
171157
docHomePage: "/capture-vision/docs/mobile/programming/cordova/"
172158
- scope:
173159
path: "programming/xamarin"
174160
values:
175-
category: "mobile-repo"
176-
edition: "mobile"
177161
docRootName: "Barcode Reader Xamarin.Forms Edition"
178162
docHomePage: "/capture-vision/docs/mobile/programming/xamarin/"
179163
- scope:
180164
path: "programming/maui"
181165
values:
182-
category: "mobile-repo"
183-
edition: "mobile"
184166
docRootName: "Barcode Reader MAUI Edition"
185167
docHomePage: "/barcode-reader/docs/mobile/programming/maui/"
186168
- scope:
187169
path: "programming/enumeration"
188170
values:
189-
category: "mobile-repo"
190-
edition: "mobile"
191171
docRootName: "Barcode Reader Enumerations"
192172
docHomePage: "/barcode-reader/docs/mobile/programming/enumeration/"
193173
- scope:
194174
path: "programming-old/enumeration"
195175
values:
196-
category: "mobile-repo"
197-
edition: "mobile"
198176
docRootName: "Barcode Reader Enumerations"
199177
docHomePage: "/barcode-reader/docs/mobile/programming/enumeration/"
200178
- scope:

_includes/dbrNav.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
{%- if page.multiProgrammingLanguage -%}
2121
{%- assign multiProgrammingLanguage = "multiProgrammingLanguage" -%}
2222
{%- endif -%}
23+
24+
{%- assign docHomePage = site.docHomePage -%}
25+
{%- if page.docHomePage -%}
26+
{%- assign docHomePage = page.docHomePage -%}
27+
{%- endif -%}
2328
<div id="BarcodeReader" class="main">
2429
<div id="BarcodeReaderMenu" class="productMenu">
2530
<div class="container pcProductMenu">
@@ -46,7 +51,7 @@
4651
<span class="showMenuMore textUpperCase">Dev Center <i class="icon-orange-angle"></i></span>
4752
<ul class="ct-more" style="display: none">
4853
<i class="icon-orange-angle"></i>
49-
<li class="item"><a href="https://www.dynamsoft.com/barcode-reader/docs/core/introduction/">Documentation</a></li>
54+
<li class="item"><a href="{{docHomePage}}">Documentation</a></li>
5055
<li class="item"><a href="https://www.dynamsoft.com/barcode-reader/resources/code-gallery/">Code Gallery</a></li>
5156
<li class="item"><a href="https://www.dynamsoft.com/barcode-reader/docs/core/release-notes/">Release Notes</a></li>
5257
<li class="item"><a class="all-resources f16 mt20 orangeLink" href="https://www.dynamsoft.com/barcode-reader/resources/">See All resources ></a></li>
@@ -111,7 +116,7 @@
111116
<li class="item resources">
112117
<span class="showMenuMore textUpperCase">Dev Center <i class="icon-orange-angle"></i></span>
113118
<ul class="ct-more" style="display: none">
114-
<li class="item"><a href="https://www.dynamsoft.com/barcode-reader/docs/core/introduction/">Documentation</a></li>
119+
<li class="item"><a href="{{docHomePage}}">Documentation</a></li>
115120
<li class="item"><a href="https://www.dynamsoft.com/barcode-reader/resources/code-gallery/">Code Gallery</a></li>
116121
<li class="item"><a href="https://www.dynamsoft.com/barcode-reader/docs/core/release-notes/">Release Notes</a></li>
117122
<li class="item"><a class="all-resources f16 mt20 orangeLink" href="https://www.dynamsoft.com/barcode-reader/resources/">See All resources ></a></li>

programming/maui/user-guide.md

Lines changed: 43 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ noTitleIndex: true
1414
## Table of Contents
1515

1616
- [MAUI User Guide for Barcode Reader Integration](#maui-user-guide-for-barcode-reader-integration)
17-
- [Table of Contents](#table-of-contents)
18-
- [System Requirements](#system-requirements)
19-
- [.Net](#net)
20-
- [Android](#android)
21-
- [iOS](#ios)
22-
- [Installation](#installation)
23-
- [Visual Studio for Mac](#visual-studio-for-mac)
24-
- [Visual Studio for Windows](#visual-studio-for-windows)
25-
- [Build Your Barcode Scanner App](#build-your-barcode-scanner-app)
26-
- [Set up Development Environment](#set-up-development-environment)
27-
- [Initialize the Project](#initialize-the-project)
28-
- [Visual Studio](#visual-studio)
29-
- [Visual Studio for Mac](#visual-studio-for-mac-1)
30-
- [Include the Library](#include-the-library)
31-
- [Initialize MauiProgram](#initialize-mauiprogram)
32-
- [License Activation](#license-activation)
33-
- [Initialize the Capture Vision SDK](#initialize-the-capture-vision-sdk)
34-
- [Add the CameraView in the Main Page](#add-the-cameraview-in-the-main-page)
35-
- [Open the Camera and Start Barcode Decoding](#open-the-camera-and-start-barcode-decoding)
36-
- [Obtaining Barcode Results](#obtaining-barcode-results)
37-
- [Run the Project](#run-the-project)
38-
- [Customizing the Barcode Reader](#customizing-the-barcode-reader)
39-
- [Switching Preset Templates](#switching-preset-templates)
40-
- [Configuring the SimplifiedBarcodeReaderSettings](#configuring-the-simplifiedbarcodereadersettings)
41-
- [Customizing the Scan Region](#customizing-the-scan-region)
42-
- [Licensing](#licensing)
17+
- [Table of Contents](#table-of-contents)
18+
- [System Requirements](#system-requirements)
19+
- [.Net](#net)
20+
- [Android](#android)
21+
- [iOS](#ios)
22+
- [Installation](#installation)
23+
- [Visual Studio for Mac](#visual-studio-for-mac)
24+
- [Visual Studio for Windows](#visual-studio-for-windows)
25+
- [Build Your Barcode Scanner App](#build-your-barcode-scanner-app)
26+
- [Set up Development Environment](#set-up-development-environment)
27+
- [Initialize the Project](#initialize-the-project)
28+
- [Visual Studio](#visual-studio)
29+
- [Visual Studio for Mac](#visual-studio-for-mac-1)
30+
- [Include the Library](#include-the-library)
31+
- [Initialize MauiProgram](#initialize-mauiprogram)
32+
- [License Activation](#license-activation)
33+
- [Initialize the Capture Vision SDK](#initialize-the-capture-vision-sdk)
34+
- [Add the CameraView in the Main Page](#add-the-cameraview-in-the-main-page)
35+
- [Open the Camera and Start Barcode Decoding](#open-the-camera-and-start-barcode-decoding)
36+
- [Obtaining Barcode Results](#obtaining-barcode-results)
37+
- [Run the Project](#run-the-project)
38+
- [Customizing the Barcode Reader](#customizing-the-barcode-reader)
39+
- [Switching Preset Templates](#switching-preset-templates)
40+
- [Configuring the SimplifiedBarcodeReaderSettings](#configuring-the-simplifiedbarcodereadersettings)
41+
- [Customizing the Scan Region](#customizing-the-scan-region)
42+
- [Licensing](#licensing)
4343

4444
## System Requirements
4545

@@ -93,6 +93,23 @@ You have to Add the library via the project file and do some additional steps to
9393
> - Windows system have a limitation of 260 characters in the path. If you don't use console to install the package, you will receive error "Could not find a part of the path 'C:\Users\admin\.nuget\packages\dynamsoft.imageprocessing.ios\2.4.200\lib\net7.0-ios16.1\Dynamsoft.ImageProcessing.iOS.resources\DynamsoftImageProcessing.xcframework\ios-arm64\dSYMs\DynamsoftImageProcessing.framework.dSYM\Contents\Resources\DWARF\DynamsoftImageProcessing'"
9494
> - The library only support Android & iOS platform. Be sure that you remove the other platforms like Windows, maccatalyst, etc.
9595

96+
### Additional Step: Modify the .csproj File for .NET 8.0
97+
98+
If you are using .NET 8.0, you have to disable AOT compilation. Otherwise, you will receive errors like:
99+
100+
"Mono Ahead of Time compiler - compiling assembly..."
101+
102+
"AOTID 0E4B9819-4A8D-A7E6-425E-A77F03B581F7..."
103+
104+
Add the following content to your .csproj file to disable AOT.
105+
106+
```c#
107+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
108+
<RunAOTCompilation>false</RunAOTCompilation>
109+
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
110+
</PropertyGroup>
111+
```
112+
96113
## Build Your Barcode Scanner App
97114

98115
Now you will learn how to create a simple barcode scanner using Dynamsoft Barcode Reader MAUI SDK.

0 commit comments

Comments
 (0)