@sodyo/react-native-sodyo-sdk 3.16.2 → 3.17.1
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 +1 -1
- package/RNSodyoSdk.podspec +2 -2
- package/ios/RNSodyoSdk.m +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 3.68.
|
|
4
|
+
[SodyoSDK for iOS](https://github.com/sodyo-ltd/SodyoSDKPod) 3.68.03
|
|
5
5
|
|
|
6
6
|
[SodyoSDK for Android](https://search.maven.org/search?q=a:sodyo-android-sdk) 3.68.01
|
|
7
7
|
|
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", :commit => "
|
|
15
|
+
s.source = { :git => "https://github.com/sodyo-ltd/SodyoSDKPod", :commit => "5778359" }
|
|
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.68.
|
|
20
|
+
s.dependency "SodyoSDK", "3.68.03"
|
|
21
21
|
end
|
|
22
22
|
|
package/ios/RNSodyoSdk.m
CHANGED
|
@@ -77,6 +77,12 @@ RCT_EXPORT_METHOD(addScannerParam:(NSString *) key value:(NSString *) value)
|
|
|
77
77
|
[SodyoSDK addScannerParams:key value:value];
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
RCT_EXPORT_METHOD(setDynamicProfile:(NSDictionary *) profile)
|
|
81
|
+
{
|
|
82
|
+
NSLog(@"setDynamicProfile");
|
|
83
|
+
[SodyoSDK setDynamicProfile:profile];
|
|
84
|
+
}
|
|
85
|
+
|
|
80
86
|
RCT_EXPORT_METHOD(setDynamicProfileValue:(NSString *) key value:(NSString *) value)
|
|
81
87
|
{
|
|
82
88
|
NSLog(@"setDynamicProfileValue");
|