Skip to content

Commit 80bb29c

Browse files
update to internal commit 9857ee35
1 parent af3fe56 commit 80bb29c

File tree

2 files changed

+4
-61
lines changed

2 files changed

+4
-61
lines changed

programming/android/user-guide/getting-started.md

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ noTitleIndex: true
1313
- [Dynamsoft Code Parser - Android User Guide](#dynamsoft-code-parser---android-user-guide)
1414
- [Requirements](#requirements)
1515
- [Add the Libraries](#add-the-libraries)
16-
- [Add the Libraries Manually](#add-the-libraries-manually)
17-
- [Add the Libraries via Maven](#add-the-libraries-via-maven)
1816
- [Build Your First Application](#build-your-first-application)
1917
- [Create a New Project](#create-a-new-project)
2018
- [Include the Library](#include-the-library)
@@ -40,31 +38,6 @@ The Dynamsoft Code Parser (DCP) Android SDK comes with four libraries:
4038
| `DynamsoftLicense.aar` | The license library, which includes license related APIs. |
4139
| `DynamsoftCodeParserDedicator.aar`| The code parser helper library, which includes some validation functions used by the SDK.|
4240

43-
There are two ways to add the libraries into your project - **Manually** and **Maven**.
44-
45-
### Add the Libraries Manually
46-
47-
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:
48-
49-
- **DynamsoftCodeParser.aar**
50-
- **DynamsoftCore.aar**
51-
- **DynamsoftLicense.aar**
52-
- **DynamsoftCodeParserDedicator.aar**
53-
54-
2. Copy the above seven **aar** files to the target directory such as `[App Project Root Path]\app\libs`
55-
56-
3. Open the file `[App Project Root Path]\app\build.gradle` and add the reference in the dependencies:
57-
58-
```groovy
59-
dependencies {
60-
implementation fileTree(dir: 'libs', include: ['*.aar'])
61-
}
62-
```
63-
64-
4. Click **Sync Now**. After the synchronization is complete, the SDK is added to the project.
65-
66-
### Add the Libraries via Maven
67-
6841
1. Open the file `[App Project Root Path]\app\build.gradle` and add the Maven repository:
6942

7043
```groovy
@@ -81,8 +54,8 @@ There are two ways to add the libraries into your project - **Manually** and **M
8154
dependencies {
8255
implementation 'com.dynamsoft:dynamsoftcodeparser:2.2.10'
8356
implementation 'com.dynamsoft:dynamsoftcodeparserdedicator:1.2.20'
84-
implementation 'com.dynamsoft:dynamsoftcore:3.2.10'
85-
implementation 'com.dynamsoft:dynamsoftlicense:3.2.10'
57+
implementation 'com.dynamsoft:dynamsoftcore:3.2.30'
58+
implementation 'com.dynamsoft:dynamsoftlicense:3.2.20'
8659
}
8760
```
8861

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

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

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

240-
You can also download the full source code of all the steps above:
241-
242-
- <a href="https://github.com/Dynamsoft/code-parser-mobile-samples/tree/main/android/HelloWorld" target="_blank">HelloWorld Sample (Java)</a>

programming/ios/user-guide/getting-started.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ noTitleIndex: true
1313
- [Dynamsoft Code Parser - iOS User Guide](#dynamsoft-code-parser---ios-user-guide)
1414
- [Requirements](#requirements)
1515
- [Add the xcframeworks](#add-the-xcframeworks)
16-
- [Add the xcframeworks Manually](#add-the-xcframeworks-manually)
17-
- [Add the xcframeworks via CocoaPods](#add-the-xcframeworks-via-cocoapods)
1816
- [Build Your First Application](#build-your-first-application)
1917
- [Create a New Project](#create-a-new-project)
2018
- [Include the Library](#include-the-library)
@@ -40,23 +38,6 @@ The Dynamsoft Code Parser (DCP) iOS SDK comes with four libraries:
4038
| `DynamsoftLicense.xcframework` | The license library, which includes license related APIs. |
4139
| `DynamsoftCodeParserDedicator.xcframework` | The code parser helper library, which includes some validation functions used by the SDK. |
4240

43-
There are two ways to add the libraries into your project - **Manually** and **Via the CocaPods**.
44-
45-
### Add the xcframeworks Manually
46-
47-
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:
48-
49-
- **DynamsoftCodeParser.xcframework**
50-
- **DynamsoftCore.xcframework**
51-
- **DynamsoftLicense.xcframework**
52-
- **DynamsoftCodeParserDedicator.xcframework**
53-
54-
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.
55-
56-
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**.
57-
58-
### Add the xcframeworks via CocoaPods
59-
6041
1. Add the frameworks in your **Podfile**, replace `TargetName` with your real target name.
6142

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

6647
pod 'DynamsoftCodeParser','2.2.10'
6748
pod 'DynamsoftCodeParserDedicator','1.2.20'
68-
pod 'DynamsoftCore','3.2.11'
69-
pod 'DynamsoftLicense','3.2.11'
49+
pod 'DynamsoftCore','3.2.30'
50+
pod 'DynamsoftLicense','3.2.20'
7051

7152
end
7253
```
@@ -84,7 +65,6 @@ The following sample will demonstrate how to create a simple `HelloWorld` app fo
8465
>Note:
8566
>
8667
>- The following steps are completed in XCode 14.2
87-
>- View the entire Swift source code from [HelloWorld(Swift) sample](https://github.com/Dynamsoft/code-parser-mobile-samples/blob/master/ios/HelloWorld/)
8868
8969
### Create a New Project
9070

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

220200
1. Select the device that you want to run your app on.
221201
2. Run the project, then your app will be installed on your device.
222-
223-
>Note:
224-
>
225-
>- You can get the source code of the HelloWord app from the following link
226-
>- View the entire Swift source code from [HelloWorld sample](https://github.com/Dynamsoft/code-parser-mobile-samples/blob/main/ios/HelloWorld/)

0 commit comments

Comments
 (0)