assentify-sdk-react-native 0.0.38 → 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,10 @@ 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
+
96
100
  **0.0.38**
97
101
  1. *Fixes issues related to old swift versions*
98
102
 
@@ -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.74'
41
+ s.dependency "AssentifySdk", '0.0.75'
42
42
 
43
43
  end
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assentify-sdk-react-native",
3
- "version": "0.0.38",
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",