@idnow/react-idcheckio 8.0.3 → 8.1.0

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.
@@ -99,7 +99,7 @@ dependencies {
99
99
  //noinspection GradleDynamicVersion
100
100
  implementation "com.facebook.react:react-native:+"
101
101
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
102
- implementation('com.ariadnext.android.idcheckio:sdk:8.0.3@aar') {
102
+ implementation('com.ariadnext.android.idcheckio:sdk:8.1.0@aar') {
103
103
  transitive = true
104
104
  }
105
105
  implementation 'androidx.appcompat:appcompat:1.7.0'
@@ -1,5 +1,5 @@
1
- IdnowReactIdcheckio_kotlinVersion=1.9.10
1
+ IdnowReactIdcheckio_kotlinVersion=2.0.20
2
2
  IdnowReactIdcheckio_minSdkVersion=21
3
- IdnowReactIdcheckio_targetSdkVersion=34
4
- IdnowReactIdcheckio_compileSdkVersion=34
5
- IdnowReactIdcheckio_ndkversion=21.4.7075529
3
+ IdnowReactIdcheckio_targetSdkVersion=35
4
+ IdnowReactIdcheckio_compileSdkVersion=35
5
+ IdnowReactIdcheckio_ndkversion=27.2.12479018
@@ -5,5 +5,6 @@ enum class OnlineConfigEnum {
5
5
  cisType,
6
6
  folderUid,
7
7
  biometricConsent,
8
- enableManualAnalysis
8
+ enableManualAnalysis,
9
+ cisDocCheckLaunch
9
10
  }
@@ -172,6 +172,7 @@ internal object Mapper {
172
172
  OnlineConfigEnum.folderUid -> folderUid = value.toString()
173
173
  OnlineConfigEnum.biometricConsent -> biometricConsent = value.toString().toBoolean()
174
174
  OnlineConfigEnum.enableManualAnalysis -> enableManualAnalysis = value.toString().toBoolean()
175
+ OnlineConfigEnum.cisDocCheckLaunch -> cisDocCheckLaunch = value.toString().toBoolean()
175
176
  }
176
177
  }
177
178
  }
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
  s.swift_version = "5.7"
18
18
 
19
- s.dependency "IDCheckIOSDK", "~> 8.0.3"
19
+ s.dependency "IDCheckIOSDK", "~> 8.1.0"
20
20
 
21
21
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
22
22
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idnow/react-idcheckio",
3
3
  "title": "IDCheckIO SDK ReactNative",
4
- "version": "8.0.3",
4
+ "version": "8.1.0",
5
5
  "description": "React Native plugin for IDCheck.io Mobile SDK",
6
6
  "homepage": "https://www.idnow.io/",
7
7
  "react-native": "src/index",
package/release-public.sh CHANGED
@@ -14,8 +14,8 @@
14
14
  PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
15
15
 
16
16
  # Don't modify theses two variables!
17
- current_android_version="8.0.3"
18
- current_ios_version="8.0.3"
17
+ current_android_version="8.1.0"
18
+ current_ios_version="8.1.0"
19
19
 
20
20
  # Read version wanted from input
21
21
  android_value=""
@@ -86,4 +86,4 @@ echo
86
86
  # Make sure current user is logged in under organization scope
87
87
  npm login --registry=https://registry.npmjs.org --scope=@idnow
88
88
  # Publish
89
- npm publish --access public
89
+ npm publish --access public
package/src/index.d.ts CHANGED
@@ -89,18 +89,21 @@ export class OnlineConfig {
89
89
  public biometricConsent?: boolean | null;
90
90
  public enableManualAnalysis?: boolean | null;
91
91
  public cisType?: CISType | null;
92
+ public cisDocCheckLaunch?: boolean | null;
92
93
  constructor({
93
94
  isReferenceDocument = null,
94
95
  folderUid = null,
95
96
  biometricConsent = null,
96
97
  enableManualAnalysis = null,
97
- cisType = null
98
+ cisType = null,
99
+ cisDocCheckLaunch = null
98
100
  }: {
99
101
  isReferenceDocument?: boolean | null,
100
102
  folderUid?: string | null,
101
103
  biometricConsent?: boolean | null,
102
104
  enableManualAnalysis?: boolean | null,
103
- cisType?: CISType | null
105
+ cisType?: CISType | null,
106
+ cisDocCheckLaunch?: boolean | null
104
107
  })
105
108
  }
106
109
 
package/src/index.js CHANGED
@@ -157,12 +157,14 @@ export class OnlineConfig {
157
157
  biometricConsent = null,
158
158
  enableManualAnalysis = null,
159
159
  cisType = null,
160
+ cisDocCheckLaunch = null,
160
161
  } = {}) {
161
162
  this.isReferenceDocument = isReferenceDocument;
162
163
  this.folderUid = folderUid;
163
164
  this.biometricConsent = biometricConsent;
164
165
  this.enableManualAnalysis = enableManualAnalysis;
165
166
  this.cisType = cisType;
167
+ this.cisDocCheckLaunch = cisDocCheckLaunch;
166
168
  }
167
169
  }
168
170