From af3fe566ae536b3d7f98cb9e69e0d81da72768ec Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Tue, 14 May 2024 22:37:01 -0700 Subject: [PATCH 1/2] update to internal commit c6e7b8e5 --- assets/js/dcpMobileVersionSearch.json | 51 +++++++++++++++++++ .../android/release-notes/android-2.md | 4 ++ programming/android/release-notes/index.md | 1 + 3 files changed, 56 insertions(+) diff --git a/assets/js/dcpMobileVersionSearch.json b/assets/js/dcpMobileVersionSearch.json index 1b0f8b1..0f9db5c 100644 --- a/assets/js/dcpMobileVersionSearch.json +++ b/assets/js/dcpMobileVersionSearch.json @@ -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":{ diff --git a/programming/android/release-notes/android-2.md b/programming/android/release-notes/android-2.md index 55d5d22..8472dd4 100644 --- a/programming/android/release-notes/android-2.md +++ b/programming/android/release-notes/android-2.md @@ -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 diff --git a/programming/android/release-notes/index.md b/programming/android/release-notes/index.md index 8158cc4..5179007 100644 --- a/programming/android/release-notes/index.md +++ b/programming/android/release-notes/index.md @@ -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) From 80bb29c3016a5e9adbfd8b698bbaf08c0b33ffd2 Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Tue, 14 May 2024 23:40:33 -0700 Subject: [PATCH 2/2] update to internal commit 9857ee35 --- .../android/user-guide/getting-started.md | 36 ++----------------- programming/ios/user-guide/getting-started.md | 29 ++------------- 2 files changed, 4 insertions(+), 61 deletions(-) diff --git a/programming/android/user-guide/getting-started.md b/programming/android/user-guide/getting-started.md index afd08f6..77d7395 100644 --- a/programming/android/user-guide/getting-started.md +++ b/programming/android/user-guide/getting-started.md @@ -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) @@ -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 Dynamsoft Website. 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 @@ -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' } ``` @@ -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 -> - HelloWorld Sample (Java) ### Create a New Project @@ -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: - -- HelloWorld Sample (Java) diff --git a/programming/ios/user-guide/getting-started.md b/programming/ios/user-guide/getting-started.md index a498b72..5d02103 100644 --- a/programming/ios/user-guide/getting-started.md +++ b/programming/ios/user-guide/getting-started.md @@ -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) @@ -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 Dynamsoft website. 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 @@ -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 ``` @@ -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 @@ -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/)