@sodyo/react-native-sodyo-sdk 3.15.4 → 3.15.6

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
@@ -1,9 +1,9 @@
1
1
 
2
2
  # React Native Sodyo SDK Plugin that wraps Sodyo sdk for Android and iOS
3
3
 
4
- [SodyoSDK for iOS](https://github.com/sodyo-ltd/SodyoSDKPod) v3.66.02
4
+ [SodyoSDK for iOS](https://github.com/sodyo-ltd/SodyoSDKPod) v3.67.02
5
5
 
6
- [SodyoSDK for Android](https://search.maven.org/search?q=a:sodyo-android-sdk) 3.66.05
6
+ [SodyoSDK for Android](https://search.maven.org/search?q=a:sodyo-android-sdk) 3.67.04
7
7
 
8
8
 
9
9
  ## Install
@@ -12,11 +12,11 @@ Pod::Spec.new do |s|
12
12
  s.author = package['author']
13
13
  s.homepage = package['homepage']
14
14
  s.platform = :ios, "11.0"
15
- s.source = { :git => "https://github.com/sodyo-ltd/SodyoSDKPod", :commit => "b3b1fba" }
15
+ s.source = { :git => "https://github.com/sodyo-ltd/SodyoSDKPod", :commit => "d2e7e6c" }
16
16
  s.source_files = "ios/**/*.{h,m}"
17
17
  s.requires_arc = true
18
18
 
19
19
  s.dependency "React"
20
- s.dependency "SodyoSDK", "3.66.02"
20
+ s.dependency "SodyoSDK", "3.67.02"
21
21
  end
22
22
 
@@ -55,7 +55,7 @@ repositories {
55
55
 
56
56
  dependencies {
57
57
  implementation ('com.facebook.react:react-native:+')
58
- implementation ('com.sodyo:sodyo-android-sdk:3.67.01') {
58
+ implementation ('com.sodyo:sodyo-android-sdk:3.67.04') {
59
59
  transitive = true
60
60
  exclude group: 'com.parse.bolts', module: 'bolts-android'
61
61
  }
@@ -292,7 +292,8 @@ public class RNSodyoSdkModule extends ReactContextBaseJavaModule {
292
292
  public void setDynamicProfile(ReadableMap profile) {
293
293
  Log.i(TAG, "setDynamicProfile()");
294
294
  if (profile != null) {
295
- Sodyo.setDynamicProfile(ConversionUtil.toHashMap(profile));
295
+ HashMap<String, Object> profileMap = new HashMap<>(ConversionUtil.toMap(profile));
296
+ Sodyo.setDynamicProfile(profileMap);
296
297
  }
297
298
  }
298
299
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sodyo/react-native-sodyo-sdk",
3
- "version": "3.15.4",
3
+ "version": "3.15.6",
4
4
  "description": "RNSodyoSdk",
5
5
  "main": "sodyosdk.js",
6
6
  "typings": "./sodyosdk.d.ts",