@regulaforensics/face-sdk 8.1.715-rc → 8.1.719-nightly

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/RNFaceSDK.podspec CHANGED
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNFaceSDK'
8
- s.version = '8.1.715-rc'
8
+ s.version = '8.1.719-nightly'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
16
16
  s.ios.deployment_target = '13.0'
17
17
  s.source_files = 'ios/**/*.{h,m}'
18
18
  s.exclude_files = [ 'ios/CVDFaceSDK.h', 'ios/CVDFaceSDK.m' ]
19
- s.dependency 'FaceSDKStage', '8.1.3555'
19
+ s.dependency 'FaceSDKNightly', '8.1.3558'
20
20
  s.dependency 'React'
21
21
  end
@@ -20,7 +20,7 @@ android {
20
20
  rootProject.allprojects {
21
21
  repositories {
22
22
  maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
24
24
  }
25
25
  }
26
26
  }
@@ -29,7 +29,7 @@ dependencies {
29
29
  //noinspection GradleDynamicVersion
30
30
  implementation 'com.facebook.react:react-native:+'
31
31
  //noinspection GradleDependency
32
- implementation('com.regula.face:api:8.1.4296'){
32
+ implementation('com.regula.face:api:8.1.4299'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -6,13 +6,13 @@ android {
6
6
 
7
7
  repositories {
8
8
  maven {
9
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
9
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
10
10
  }
11
11
  }
12
12
 
13
13
  dependencies {
14
14
  //noinspection GradleDependency
15
- implementation('com.regula.face:api:8.1.4296'){
15
+ implementation('com.regula.face:api:8.1.4299'){
16
16
  transitive = true
17
17
  }
18
18
  }
@@ -36,8 +36,8 @@ fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) {
36
36
  "setEnv" -> setEnv(argsNullable(0))
37
37
  "getLocale" -> getLocale(callback)
38
38
  "setLocale" -> setLocale(argsNullable(0))
39
- "setLocalizationDictionary" -> setLocalizationDictionary(args(0))
40
- "setRequestHeaders" -> setRequestHeaders(args(0))
39
+ "setLocalizationDictionary" -> setLocalizationDictionary(argsNullable(0))
40
+ "setRequestHeaders" -> setRequestHeaders(argsNullable(0))
41
41
  "setCustomization" -> setCustomization(args(0))
42
42
  "isInitialized" -> isInitialized(callback)
43
43
  "initialize" -> initialize(callback, argsNullable(0))
@@ -99,13 +99,13 @@ fun getLocale(callback: Callback) = callback(Instance().locale)
99
99
 
100
100
  fun setLocale(locale: String?) = locale.let { Instance().locale = it }
101
101
 
102
- fun setLocalizationDictionary(dictionary: JSONObject) {
103
- localizationCallbacks = LocalizationCallbacks { if (dictionary.has(it)) dictionary.getString(it) else null }
102
+ fun setLocalizationDictionary(dictionary: JSONObject?) {
103
+ localizationCallbacks = LocalizationCallbacks { if (dictionary?.has(it) == true) dictionary.getString(it) else null }
104
104
  Instance().setLocalizationCallback(localizationCallbacks!!)
105
105
  }
106
106
 
107
- fun setRequestHeaders(headers: JSONObject) {
108
- networkInterceptorListener = NetworkInterceptorListener { headers.forEach { k, v -> it.header(k, v as String) } }
107
+ fun setRequestHeaders(headers: JSONObject?) {
108
+ networkInterceptorListener = NetworkInterceptorListener { headers?.forEach { k, v -> it.header(k, v as String) } }
109
109
  Instance().setNetworkInterceptorListener(networkInterceptorListener)
110
110
  }
111
111
 
@@ -6,8 +6,8 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/face-sdk": "8.1.715-rc",
10
- "@regulaforensics/face-core-basic": "8.1.377-rc",
9
+ "@regulaforensics/face-sdk": "8.1.719-nightly",
10
+ "@regulaforensics/face-core-basic": "8.1.379-nightly",
11
11
  "@awesome-cordova-plugins/file": "6.6.0",
12
12
  "@awesome-cordova-plugins/camera": "6.6.0",
13
13
  "cordova-plugin-file": "8.1.3",