dynamsoft-capture-vision-react-native 3.2.3000 → 3.2.5001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -159,5 +159,5 @@ dependencies {
159
159
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
160
160
  implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"
161
161
 
162
- implementation "com.dynamsoft:capturevisionbundle:3.2.3000"
162
+ implementation "com.dynamsoft:capturevisionbundle:3.2.5000"
163
163
  }
package/app.plugin.js ADDED
@@ -0,0 +1,21 @@
1
+ const { withProjectBuildGradle } = require("@expo/config-plugins");
2
+
3
+ const dynamsoft_allprojects_block = `
4
+ allprojects {
5
+ repositories {
6
+ maven {
7
+ url "https://download2.dynamsoft.com/maven/aar"
8
+ }
9
+ }
10
+ }
11
+ `;
12
+
13
+ module.exports = (config) => {
14
+ return withProjectBuildGradle(config, (config) => {
15
+ if(config.modResults.contents.includes('https://download2.dynamsoft.com/maven/aar')) {
16
+ return config;
17
+ }
18
+ config.modResults.contents += dynamsoft_allprojects_block;
19
+ return config;
20
+ });
21
+ };
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.private_header_files = "ios/**/*.h"
18
18
  s.requires_arc = true
19
19
 
20
- s.dependency "DynamsoftCaptureVisionBundle", ">= 3.2.3000", "< 4.0"
20
+ s.dependency "DynamsoftCaptureVisionBundle", ">= 3.2.5000", "< 4.0"
21
21
 
22
22
  install_modules_dependencies(s)
23
23
  end
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dynamsoft-capture-vision-react-native",
3
3
  "title": "Dynamsoft Capture Vision React Native",
4
- "version": "3.2.3000",
4
+ "version": "3.2.5001",
5
5
  "description": "The Dynamsoft Capture Vision React Native SDK provides a wrapper for building barcode scanning, document scanning and MRZ scanning applications with React Native.",
6
6
  "homepage": "https://github.com/Dynamsoft/capture-vision-react-native-samples",
7
7
  "main": "src/index.tsx",
@@ -17,7 +17,8 @@
17
17
  "!android/gradlew",
18
18
  "!android/gradlew.bat",
19
19
  "!android/local.properties",
20
- "!node_modules"
20
+ "!node_modules",
21
+ "app.plugin.js"
21
22
  ],
22
23
  "scripts": {
23
24
  "test": "jest",