Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions assets/js/dcpMobileVersionSearch.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
[
{
"version": "2.2.11",
"matchList": {
"android":{
"dcvRepoMobile": [
{
"path": "/programming/android/api-reference/license",
"version": "3.2.20"
}, {
"path": "/programming/android/api-reference/core",
"version": "3.2.30"
}
],
"dcvRepoCore": [
{
"path": "/enums/core",
"version": "3.2.30"
},{
"path": "/parameters/reference/capture-vision-template",
"version": "2.2.30"
},{
"path": "/parameters/reference/target-roi-def",
"version": "2.2.30"
},{
"path": "/parameters/reference/code-parser-task-settings",
"version": "2.2.10"
},{
"path": "/parameters/reference/image-parameter",
"version": "2.2.30"
},{
"path": "/parameters/reference/semantic-processing",
"version": "3.2.10"
},{
"path": "/parameters/reference/image-source-options",
"version": "3.2.30"
},{
"path": "/parameters/reference/global-parameter",
"version": "2.2.30"
},{
"path": "/parameters/reference/label-recognizer-task-settings",
"version": "3.2.10"
},{
"path": "/parameters/reference/text-line-specification",
"version": "3.2.30"
},{
"path": "/parameters/reference/barcode-reader-task-settings",
"version": "10.2.10"
}
]
}
}
}, {
"version": "2.2.10",
"matchList": {
"android":{
Expand Down
4 changes: 4 additions & 0 deletions programming/android/release-notes/android-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ needGenerateH3Content: false

# Release Notes for Android Edition - 2.x

## 2.2.11 (05/15/2024)

- Moved the GJSON dependency from the `DynamsoftCodeParser` library to `DynamsoftCore` library.

## 2.2.10 (04/16/2024)

### Improved
Expand Down
1 change: 1 addition & 0 deletions programming/android/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ needAutoGenerateSidebar: false

# Release Notes - Android Edition

- [2.2.11 (05/15/2024)](android-2.md#2211-05152024)
- [2.2.10 (04/16/2024)](android-2.md#2210-04162024)
- [2.0.20 (12/07/2023)](android-2.md#2020-12072023)
36 changes: 2 additions & 34 deletions programming/android/user-guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ noTitleIndex: true
- [Dynamsoft Code Parser - Android User Guide](#dynamsoft-code-parser---android-user-guide)
- [Requirements](#requirements)
- [Add the Libraries](#add-the-libraries)
- [Add the Libraries Manually](#add-the-libraries-manually)
- [Add the Libraries via Maven](#add-the-libraries-via-maven)
- [Build Your First Application](#build-your-first-application)
- [Create a New Project](#create-a-new-project)
- [Include the Library](#include-the-library)
Expand All @@ -40,31 +38,6 @@ The Dynamsoft Code Parser (DCP) Android SDK comes with four libraries:
| `DynamsoftLicense.aar` | The license library, which includes license related APIs. |
| `DynamsoftCodeParserDedicator.aar`| The code parser helper library, which includes some validation functions used by the SDK.|

There are two ways to add the libraries into your project - **Manually** and **Maven**.

### Add the Libraries Manually

1. Download the SDK package from the <a href="https://www.dynamsoft.com/survey/dlr/?utm_source=docs" target="_blank">Dynamsoft Website</a>. After unzipping, four **aar** files can be found in the **Dynamsoft\Libs** directory:

- **DynamsoftCodeParser.aar**
- **DynamsoftCore.aar**
- **DynamsoftLicense.aar**
- **DynamsoftCodeParserDedicator.aar**

2. Copy the above seven **aar** files to the target directory such as `[App Project Root Path]\app\libs`

3. Open the file `[App Project Root Path]\app\build.gradle` and add the reference in the dependencies:

```groovy
dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar'])
}
```

4. Click **Sync Now**. After the synchronization is complete, the SDK is added to the project.

### Add the Libraries via Maven

1. Open the file `[App Project Root Path]\app\build.gradle` and add the Maven repository:

```groovy
Expand All @@ -81,8 +54,8 @@ There are two ways to add the libraries into your project - **Manually** and **M
dependencies {
implementation 'com.dynamsoft:dynamsoftcodeparser:2.2.10'
implementation 'com.dynamsoft:dynamsoftcodeparserdedicator:1.2.20'
implementation 'com.dynamsoft:dynamsoftcore:3.2.10'
implementation 'com.dynamsoft:dynamsoftlicense:3.2.10'
implementation 'com.dynamsoft:dynamsoftcore:3.2.30'
implementation 'com.dynamsoft:dynamsoftlicense:3.2.20'
}
```

Expand All @@ -95,8 +68,6 @@ In this section, we are going to explain how to create a simple `HelloWorld` app
>Note:
>
>- Android Studio 2022.3.1 is used here in this guide.
>- You can get similar source code from
> - <a href="https://github.com/Dynamsoft/code-parser-mobile-samples/tree/master/android/HelloWorld" target="_blank">HelloWorld Sample (Java)</a>

### Create a New Project

Expand Down Expand Up @@ -237,6 +208,3 @@ Add the SDK to your new project. Please read [Add the Libraries](#add-the-librar

2. Click the **Run app** button, then Android Studio installs your app on the connected device and launches it.

You can also download the full source code of all the steps above:

- <a href="https://github.com/Dynamsoft/code-parser-mobile-samples/tree/main/android/HelloWorld" target="_blank">HelloWorld Sample (Java)</a>
29 changes: 2 additions & 27 deletions programming/ios/user-guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ noTitleIndex: true
- [Dynamsoft Code Parser - iOS User Guide](#dynamsoft-code-parser---ios-user-guide)
- [Requirements](#requirements)
- [Add the xcframeworks](#add-the-xcframeworks)
- [Add the xcframeworks Manually](#add-the-xcframeworks-manually)
- [Add the xcframeworks via CocoaPods](#add-the-xcframeworks-via-cocoapods)
- [Build Your First Application](#build-your-first-application)
- [Create a New Project](#create-a-new-project)
- [Include the Library](#include-the-library)
Expand All @@ -40,23 +38,6 @@ The Dynamsoft Code Parser (DCP) iOS SDK comes with four libraries:
| `DynamsoftLicense.xcframework` | The license library, which includes license related APIs. |
| `DynamsoftCodeParserDedicator.xcframework` | The code parser helper library, which includes some validation functions used by the SDK. |

There are two ways to add the libraries into your project - **Manually** and **Via the CocaPods**.

### Add the xcframeworks Manually

1. Download the SDK package from the <a href="https://www.dynamsoft.com/survey/dlr/?utm_source=docs" target="_blank">Dynamsoft website</a>. After unzipping, four **xcframework** files can be found in the **Dynamsoft\Frameworks** directory:

- **DynamsoftCodeParser.xcframework**
- **DynamsoftCore.xcframework**
- **DynamsoftLicense.xcframework**
- **DynamsoftCodeParserDedicator.xcframework**

2. Drag and drop the above **xcframeworks** into your Xcode project. Make sure to check Copy items if needed and create groups to copy the **xcframeworks** into your project's folder.

3. Click on the project settings then go to **General –> Frameworks, Libraries, and Embedded Content**. Set the **Embed** field to **Embed & Sign** for all the **xcframeworks**.

### Add the xcframeworks via CocoaPods

1. Add the frameworks in your **Podfile**, replace `TargetName` with your real target name.

```pod
Expand All @@ -65,8 +46,8 @@ There are two ways to add the libraries into your project - **Manually** and **V

pod 'DynamsoftCodeParser','2.2.10'
pod 'DynamsoftCodeParserDedicator','1.2.20'
pod 'DynamsoftCore','3.2.11'
pod 'DynamsoftLicense','3.2.11'
pod 'DynamsoftCore','3.2.30'
pod 'DynamsoftLicense','3.2.20'

end
```
Expand All @@ -84,7 +65,6 @@ The following sample will demonstrate how to create a simple `HelloWorld` app fo
>Note:
>
>- The following steps are completed in XCode 14.2
>- View the entire Swift source code from [HelloWorld(Swift) sample](https://github.com/Dynamsoft/code-parser-mobile-samples/blob/master/ios/HelloWorld/)

### Create a New Project

Expand Down Expand Up @@ -219,8 +199,3 @@ Add the SDK to your new project. Please read [Add the xcframeworks](#add-the-xcf

1. Select the device that you want to run your app on.
2. Run the project, then your app will be installed on your device.

>Note:
>
>- You can get the source code of the HelloWord app from the following link
>- View the entire Swift source code from [HelloWorld sample](https://github.com/Dynamsoft/code-parser-mobile-samples/blob/main/ios/HelloWorld/)