assentify-sdk-react-native 0.0.37 → 0.0.39

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
@@ -93,6 +93,13 @@ yarn add assentify-sdk-react-native
93
93
 
94
94
  ## Versions
95
95
 
96
+ **0.0.39**
97
+ 1. *Add "applicationId" to the Config Model*
98
+ 2. *Change idType and idArmyStatus from Transliteration to Translation*
99
+
100
+ **0.0.38**
101
+ 1. *Fixes issues related to old swift versions*
102
+
96
103
  **0.0.37**
97
104
  1. *New Feature: QR Scan*
98
105
  - **QR code scanning**, allowing users to scan QR codes from the documents that have QR.
@@ -99,7 +99,7 @@ dependencies {
99
99
  implementation "com.facebook.react:react-native:+"
100
100
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
101
101
 
102
- implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:0.0.88'
102
+ implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:0.0.89'
103
103
 
104
104
  /* Assentify Sdk Dependencies */
105
105
  implementation 'com.google.code.gson:gson:2.8.9'
@@ -335,6 +335,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
335
335
  @ReactMethod
336
336
  fun submitData(data: ReadableMap? = null) {
337
337
 
338
+
338
339
  mainHandler.post {
339
340
  val mapData = readableMapToMap(data!!)
340
341
 
@@ -391,7 +392,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
391
392
  values.put(property.key, "Android")
392
393
  }
393
394
  if (property.key.contains(BlockLoaderKeys.Application)) {
394
- values.put(property.key, configModel.instanceId)
395
+ values.put(property.key, configModel.applicationId)
395
396
  }
396
397
  if (property.key.contains(BlockLoaderKeys.FlowName)) {
397
398
  values.put(property.key, configModel.flowName)
@@ -38,6 +38,6 @@ Pod::Spec.new do |s|
38
38
 
39
39
 
40
40
  s.dependency "React-Core"
41
- s.dependency "AssentifySdk", '0.0.73'
41
+ s.dependency "AssentifySdk", '0.0.75'
42
42
 
43
43
  end
@@ -142,7 +142,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
142
142
  interaction: instanceHash,
143
143
  environmentalConditions: environmentalConditions,
144
144
  assentifySdkDelegate: self,
145
- performActiveLivenessFace: performLivenessFace,
145
+ performActiveLivenessFace: performLivenessFace
146
146
  )
147
147
 
148
148
 
@@ -265,8 +265,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
265
265
  }
266
266
  }
267
267
  }
268
-
269
-
268
+
269
+
270
270
  func navigateToQrController(jsonStringKycDocumentDetails: String,language: String,stepID:Int) {
271
271
  if(jsonStringKycDocumentDetails.isEmpty) {
272
272
  return;
@@ -328,7 +328,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
328
328
  let stepIDValue = stepID.intValue
329
329
  navigateToIDCardController(jsonStringKycDocumentDetails: kycDocumentDetails,language:language,flippingCard:flippingCard,stepID:stepIDValue)
330
330
  }
331
-
331
+
332
332
  @objc
333
333
  func startScanQrPage(_ kycDocumentDetails: String ,language: String,stepID:NSNumber) {
334
334
  let stepIDValue = stepID.intValue
@@ -423,7 +423,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
423
423
  extractedInformationBlockLoader[property.key] = self.configModel?.flowName
424
424
  }
425
425
  if (property.key.contains(BlockLoaderKeys.Application)) {
426
- extractedInformationBlockLoader[property.key] = self.configModel?.instanceId
426
+ extractedInformationBlockLoader[property.key] = self.configModel?.applicationId
427
427
  }
428
428
  if (property.key.contains(BlockLoaderKeys.TimeStarted)) {
429
429
  extractedInformationBlockLoader[property.key] = self.timeStarted;
@@ -507,7 +507,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
507
507
  }else{
508
508
  stringDict[key] = "\(value)"
509
509
  }
510
-
510
+
511
511
  }
512
512
  }
513
513
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assentify-sdk-react-native",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "This package provides integration with Assentify's services, allowing developers to incorporate Assentify functionalities seamlessly into their applications.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",