diff --git a/programming/android/user-guide.md b/programming/android/user-guide.md index acecc89..598295c 100644 --- a/programming/android/user-guide.md +++ b/programming/android/user-guide.md @@ -85,13 +85,13 @@ In this guide, you will learn step by step on how to build a document scanner ap >1. ```groovy dependencies { - implementation 'com.dynamsoft:capturevisionbundle:3.0.5000' + implementation 'com.dynamsoft:capturevisionbundle:3.2.1000' } ``` 2. ```kotlin dependencies { - implementation("com.dynamsoft:capturevisionbundle:3.0.5000") + implementation("com.dynamsoft:capturevisionbundle:3.2.1000") } ``` @@ -318,12 +318,7 @@ Add the SDK to your new project. Please read [Add the SDK](#add-the-sdk) section @Override public void onPause() { super.onPause(); - try { - mCamera.close(); - } catch (CameraEnhancerException e) { - e.printStackTrace(); - } - + mCamera.close(); mRouter.stopCapturing(); } } diff --git a/programming/ios/user-guide.md b/programming/ios/user-guide.md index 6f43597..b91067f 100644 --- a/programming/ios/user-guide.md +++ b/programming/ios/user-guide.md @@ -49,7 +49,7 @@ There are two ways to add the SDK into your project - **CocoaPods**, or via **Sw target 'HelloWorld' do use_frameworks! - pod 'DynamsoftCaptureVisionBundle','3.0.5200' + pod 'DynamsoftCaptureVisionBundle','3.2.1000' end ``` @@ -66,7 +66,7 @@ There are two ways to add the SDK into your project - **CocoaPods**, or via **Sw 2. In the top-right section of the window, search "https://github.com/Dynamsoft/capture-vision-spm" -3. Select `capture-vision-spm`, choose `Exact version`, enter **3.0.5200**, then click **Add Package**. +3. Select `capture-vision-spm`, choose `Exact version`, enter **3.2.1000**, then click **Add Package**. 4. Check all the frameworks and add.