react-native-genius-sdk 1.0.6 → 1.0.8

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.
@@ -98,6 +98,6 @@ dependencies {
98
98
  //noinspection GradleDynamicVersion
99
99
  implementation "com.facebook.react:react-native:+"
100
100
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
101
- implementation("com.github.socal-ltd:GeniusSDK:1.0.14")
101
+ implementation("com.github.socal-ltd:GeniusSDK:1.0.16")
102
102
  }
103
103
 
@@ -94,7 +94,7 @@ fun logEvent(eventName: String, eventValue: ReadableMap, promise: Promise) {
94
94
  }
95
95
  }
96
96
 
97
- geniusSdk.deferredData = mutableMapOf<String,Any>()
97
+ geniusSdk.deferredData = mutableMapOf<String,Any?>()
98
98
  promise.resolve(writableMap);
99
99
  }
100
100
 
@@ -45,7 +45,7 @@ class GeniusSdk: RCTEventEmitter {
45
45
  ) {
46
46
  var data = geniusSdk.deferredData
47
47
  geniusSdk.deferredData = [:]
48
- resolve(data as [String: Any])
48
+ resolve(data as [String: Any?])
49
49
  }
50
50
 
51
51
  @objc(logEvent:withEventValue:withResolver:withRejecter:)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-genius-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "A react native package for GeniusSDK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -21,7 +21,7 @@ Pod::Spec.new do |s|
21
21
 
22
22
  s.source_files = "ios/**/*.{h,m,mm,swift}"
23
23
 
24
- s.dependency 'GeniusSDKFramework', '1.0.7'
24
+ s.dependency 'GeniusSDKFramework', '1.0.10'
25
25
 
26
26
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
27
27
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.