From ca0339aeca81e5032a609988987bb22c69a8a3d3 Mon Sep 17 00:00:00 2001 From: xulihang Date: Tue, 26 Nov 2024 16:53:55 +0800 Subject: [PATCH] update DDN to 2.4.20 --- README.md | 2 +- ...nCameraDynamsoftDocumentNormalizer.podspec | 10 +++--- android/build.gradle | 12 +++---- example/ios/Podfile.lock | 34 +++++++++---------- .../project.pbxproj | 4 +-- .../Info.plist | 5 ++- package.json | 2 +- 7 files changed, 34 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 6f2d377..6667688 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ For vision-camera v4, use versions >= 3.0.0. | Product | Android | iOS | | ----------- | ----------- | ----------- | -| Dynamsoft Document Normalizer | 2.x | 2.x | +| Dynamsoft Document Normalizer | 2.4.20 | 2.4.20 | ## Installation diff --git a/VisionCameraDynamsoftDocumentNormalizer.podspec b/VisionCameraDynamsoftDocumentNormalizer.podspec index 501a946..912ebe4 100644 --- a/VisionCameraDynamsoftDocumentNormalizer.podspec +++ b/VisionCameraDynamsoftDocumentNormalizer.podspec @@ -15,11 +15,11 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/tony-xlh/vision-camera-dynamsoft-document-normalizer.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift}" - s.dependency "DynamsoftCaptureVisionRouter", "2.2.12" - s.dependency "DynamsoftDocumentNormalizer", "2.2.11" - s.dependency "DynamsoftCore", "3.2.11" - s.dependency "DynamsoftLicense", "3.2.11" - s.dependency "DynamsoftImageProcessing", "2.2.11" + s.dependency "DynamsoftCaptureVisionRouter", "2.4.20" + s.dependency "DynamsoftDocumentNormalizer", "2.4.20" + s.dependency "DynamsoftCore", "3.4.20" + s.dependency "DynamsoftLicense", "3.4.20" + s.dependency "DynamsoftImageProcessing", "2.4.20" # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79. if respond_to?(:install_modules_dependencies, true) diff --git a/android/build.gradle b/android/build.gradle index 288cc45..e1dd33f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -96,11 +96,11 @@ dependencies { implementation "com.facebook.react:react-native:+" implementation project(':react-native-vision-camera') // DDN - implementation 'com.dynamsoft:dynamsoftcapturevisionrouter:2.2.10' - implementation 'com.dynamsoft:dynamsoftcore:3.2.10' - implementation 'com.dynamsoft:dynamsoftdocumentnormalizer:2.2.10' - implementation 'com.dynamsoft:dynamsoftimageprocessing:2.2.10' - implementation 'com.dynamsoft:dynamsoftlicense:3.2.10' - implementation 'com.dynamsoft:dynamsoftutility:1.2.10' + implementation 'com.dynamsoft:dynamsoftcapturevisionrouter:2.4.20' + implementation 'com.dynamsoft:dynamsoftcore:3.4.20' + implementation 'com.dynamsoft:dynamsoftdocumentnormalizer:2.4.20' + implementation 'com.dynamsoft:dynamsoftimageprocessing:2.4.20' + implementation 'com.dynamsoft:dynamsoftlicense:3.4.20' + implementation 'com.dynamsoft:dynamsoftutility:1.4.20' } diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 581ad17..65493de 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,11 +1,11 @@ PODS: - boost (1.83.0) - DoubleConversion (1.1.6) - - DynamsoftCaptureVisionRouter (2.2.12) - - DynamsoftCore (3.2.11) - - DynamsoftDocumentNormalizer (2.2.11) - - DynamsoftImageProcessing (2.2.11) - - DynamsoftLicense (3.2.11) + - DynamsoftCaptureVisionRouter (2.4.20) + - DynamsoftCore (3.4.20) + - DynamsoftDocumentNormalizer (2.4.20) + - DynamsoftImageProcessing (2.4.20) + - DynamsoftLicense (3.4.20) - FBLazyVector (0.74.3) - fmt (9.1.0) - glog (0.3.5) @@ -1190,13 +1190,13 @@ PODS: - VisionCamera/React (4.3.2): - React-Core - VisionCamera/FrameProcessors - - VisionCameraDynamsoftDocumentNormalizer (0.1.0): + - VisionCameraDynamsoftDocumentNormalizer (3.2.3): - DoubleConversion - - DynamsoftCaptureVisionRouter (= 2.2.12) - - DynamsoftCore (= 3.2.11) - - DynamsoftDocumentNormalizer (= 2.2.11) - - DynamsoftImageProcessing (= 2.2.11) - - DynamsoftLicense (= 3.2.11) + - DynamsoftCaptureVisionRouter (= 2.4.20) + - DynamsoftCore (= 3.4.20) + - DynamsoftDocumentNormalizer (= 2.4.20) + - DynamsoftImageProcessing (= 2.4.20) + - DynamsoftLicense (= 3.4.20) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -1414,11 +1414,11 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: d3f49c53809116a5d38da093a8aa78bf551aed09 DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5 - DynamsoftCaptureVisionRouter: e0556107089dd4708db7c79a391798159d62a501 - DynamsoftCore: 318bae4cfef9d63624752e8efdd138c034fab05c - DynamsoftDocumentNormalizer: 8232f301db5b9b8c9390f20b5d715de5bbb84c0a - DynamsoftImageProcessing: e595f5575ee0a61489f46f478fd0c26e8455b45d - DynamsoftLicense: 66da18be67cc4f1c069eb1d4fe969f703787c73d + DynamsoftCaptureVisionRouter: 0b794903e58db1d488309441af9f4cd47e1e1efa + DynamsoftCore: 958f8f530011d20a6b935ec770d483c4668e6929 + DynamsoftDocumentNormalizer: 1b83189e072844c5f3e32aeca626fc209a4d99a5 + DynamsoftImageProcessing: 36a0ebede82ffebec815465d0a617c33867eb15a + DynamsoftLicense: fca251e77d7171de39e7b316f992cb19307b96b5 FBLazyVector: 7e977dd099937dc5458851233141583abba49ff2 fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f @@ -1475,7 +1475,7 @@ SPEC CHECKSUMS: RNSVG: a48668fd382115bc89761ce291a81c4ca5f2fd2e SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d VisionCamera: 9f7b70431c8662ff933e1ed66d074bdba3a63f7d - VisionCameraDynamsoftDocumentNormalizer: f3e5ee6314caa4310c0b58c202039f3cc60038b8 + VisionCameraDynamsoftDocumentNormalizer: 36f466d24777806ed678b6de3eb829e0c4b243a5 Yoga: 04f1db30bb810187397fa4c37dd1868a27af229c PODFILE CHECKSUM: f9e9de76e1fd99d878c23be696e288be9a5a199b diff --git a/example/ios/VisionCameraDynamsoftDocumentNormalizerExample.xcodeproj/project.pbxproj b/example/ios/VisionCameraDynamsoftDocumentNormalizerExample.xcodeproj/project.pbxproj index e25ab99..a88f381 100644 --- a/example/ios/VisionCameraDynamsoftDocumentNormalizerExample.xcodeproj/project.pbxproj +++ b/example/ios/VisionCameraDynamsoftDocumentNormalizerExample.xcodeproj/project.pbxproj @@ -485,7 +485,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.tonyxlh.ddnexample; PRODUCT_NAME = VisionCameraDynamsoftDocumentNormalizerExample; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -512,7 +512,7 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.tonyxlh.ddnexample; PRODUCT_NAME = VisionCameraDynamsoftDocumentNormalizerExample; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; diff --git a/example/ios/VisionCameraDynamsoftDocumentNormalizerExample/Info.plist b/example/ios/VisionCameraDynamsoftDocumentNormalizerExample/Info.plist index 0557f3a..fb1f021 100644 --- a/example/ios/VisionCameraDynamsoftDocumentNormalizerExample/Info.plist +++ b/example/ios/VisionCameraDynamsoftDocumentNormalizerExample/Info.plist @@ -26,12 +26,13 @@ NSAppTransportSecurity - NSAllowsArbitraryLoads NSAllowsLocalNetworking + NSCameraUsageDescription + For document scanning NSLocationWhenInUseUsageDescription UILaunchStoryboardName @@ -48,7 +49,5 @@ UIViewControllerBasedStatusBarAppearance - NSCameraUsageDescription - For document scanning diff --git a/package.json b/package.json index c09094d..30b94cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vision-camera-dynamsoft-document-normalizer", - "version": "3.2.3", + "version": "3.3.0", "description": "A React Native Vision Camera frame processor plugin for Dynamsoft Document Normalizer which can be used to create a document scanner.", "main": "lib/commonjs/index", "module": "lib/module/index",