@sodyo/react-native-sodyo-sdk 3.1.2 → 3.3.0
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.54.
|
|
4
|
+
[SodyoSDK for iOS](https://github.com/sodyo-ltd/SodyoSDKPod) v3.54.28
|
|
5
5
|
|
|
6
|
-
[SodyoSDK for Android](https://search.maven.org/search?q=a:sodyo-android-sdk) v3.54.
|
|
6
|
+
[SodyoSDK for Android](https://search.maven.org/search?q=a:sodyo-android-sdk) v3.54.35
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
## Install
|
package/RNSodyoSdk.podspec
CHANGED
|
@@ -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", :
|
|
15
|
+
s.source = { :git => "https://github.com/sodyo-ltd/SodyoSDKPod", :commit => "0f595bd" }
|
|
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.54.
|
|
20
|
+
s.dependency "SodyoSDK", "3.54.28"
|
|
21
21
|
end
|
|
22
22
|
|
package/android/build.gradle
CHANGED
|
@@ -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.54.
|
|
58
|
+
implementation ('com.sodyo:sodyo-android-sdk:3.54.35') {
|
|
59
59
|
transitive = true
|
|
60
60
|
exclude group: 'com.parse.bolts', module: 'bolts-android'
|
|
61
61
|
}
|
|
@@ -123,6 +123,9 @@ public class RNSodyoSdkModule extends ReactContextBaseJavaModule {
|
|
|
123
123
|
this.isCallbackUsed = true;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
public void permissionError(String err1, String err2) {
|
|
127
|
+
}
|
|
128
|
+
|
|
126
129
|
/**
|
|
127
130
|
* SodyoInitCallback implementation
|
|
128
131
|
*/
|
|
@@ -256,10 +259,10 @@ public class RNSodyoSdkModule extends ReactContextBaseJavaModule {
|
|
|
256
259
|
}
|
|
257
260
|
|
|
258
261
|
@ReactMethod
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
262
|
+
public void setDynamicProfileValue(String key, String value) {
|
|
263
|
+
Log.i(TAG, "setDynamicProfileValue()");
|
|
264
|
+
Sodyo.setDynamicProfileValue(key, value);
|
|
265
|
+
}
|
|
263
266
|
|
|
264
267
|
@ReactMethod
|
|
265
268
|
public void performMarker(String markerId) {
|