@socure-inc/docv-react-native 5.1.5 → 5.1.6

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.
package/README.md CHANGED
@@ -35,7 +35,7 @@ Before you begin, ensure you have the following:
35
35
 
36
36
  **Android**
37
37
 
38
- - `compileSdkVersion: 34`
38
+ - `compileSdkVersion: 36`
39
39
  - `Java: 17`
40
40
 
41
41
  ## Step 1: Install the React Native wrapper
@@ -154,15 +154,15 @@ The DocV iOS SDK requires a device's camera permission to capture identity docum
154
154
 
155
155
  <br />
156
156
 
157
- For the Android app, add your project dependencies by going to the module level `build.gradle` file and making sure the `minSdkVersion` is set to at least 22 and the `compileSdkVersion` is set to at least 32.
157
+ For the Android app, add your project dependencies by going to the module level `build.gradle` file and making sure the `minSdkVersion` is set to at least 23 and the `compileSdkVersion` is set to at least 32.
158
158
 
159
159
  ```gradle
160
160
  buildscript {
161
161
  .....
162
162
  ext {
163
163
  ....
164
- minSdkVersion = 22
165
- compileSdkVersion = 34
164
+ minSdkVersion = 23
165
+ compileSdkVersion = 36
166
166
  .....
167
167
  }
168
168
  }
@@ -8,7 +8,7 @@ buildscript {
8
8
  }
9
9
 
10
10
  dependencies {
11
- classpath 'com.android.tools.build:gradle:7.4.2'
11
+ classpath 'com.android.tools.build:gradle:8.5.2'
12
12
  // noinspection DifferentKotlinGradleVersion
13
13
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14
14
  }
@@ -53,8 +53,8 @@ android {
53
53
  }
54
54
 
55
55
  compileOptions {
56
- sourceCompatibility JavaVersion.VERSION_11
57
- targetCompatibility JavaVersion.VERSION_11
56
+ sourceCompatibility JavaVersion.VERSION_17
57
+ targetCompatibility JavaVersion.VERSION_17
58
58
  }
59
59
 
60
60
  }
@@ -136,7 +136,7 @@ dependencies {
136
136
  //noinspection GradleDynamicVersion
137
137
  implementation "com.facebook.react:react-native:+"
138
138
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
139
- implementation "com.socure.android:docv-capture:5.3.1"
139
+ implementation "com.socure.android:docv-capture:5.4.0"
140
140
 
141
141
  def retrofit_version = "2.9.0"
142
142
  implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
@@ -1,6 +1,6 @@
1
1
  #Mon Aug 26 11:49:30 EDT 2024
2
2
  distributionBase=GRADLE_USER_HOME
3
3
  distributionPath=wrapper/dists
4
- distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
4
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
5
5
  zipStoreBase=GRADLE_USER_HOME
6
6
  zipStorePath=wrapper/dists
@@ -1,5 +1,6 @@
1
- SocureDocVReactNative_kotlinVersion=1.8.10
2
- SocureDocVReactNative_minSdkVersion=22
3
- SocureDocVReactNative_targetSdkVersion=34
4
- SocureDocVReactNative_compileSdkVersion=34
1
+ SocureDocVReactNative_kotlinVersion=2.1.0
2
+ SocureDocVReactNative_minSdkVersion=23
3
+ SocureDocVReactNative_targetSdkVersion=36
4
+ SocureDocVReactNative_compileSdkVersion=36
5
5
  SocureDocVReactNative_ndkversion=21.4.7075529
6
+ android.useAndroidX=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socure-inc/docv-react-native",
3
- "version": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "The Predictive Document Verification (DocV) SDK React Native bridge allows you to use the DocV SDK v5 for Android and iOS in your React Native application.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",