juggleim-rnsdk 0.3.0 → 0.3.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/android/build.gradle
CHANGED
|
@@ -44,7 +44,7 @@ repositories {
|
|
|
44
44
|
|
|
45
45
|
dependencies {
|
|
46
46
|
implementation 'com.facebook.react:react-native:0.71.1'
|
|
47
|
-
implementation 'com.juggle.im:juggle:1.8.
|
|
47
|
+
implementation 'com.juggle.im:juggle:1.8.44'
|
|
48
48
|
implementation 'com.juggle.call.zego:juggle:1.8.25'
|
|
49
49
|
implementation 'im.zego:express-video:3.17.3'
|
|
50
|
-
}
|
|
50
|
+
}
|
|
@@ -265,6 +265,8 @@ public class JuggleIMMomentModule extends ReactContextBaseJavaModule {
|
|
|
265
265
|
|
|
266
266
|
private GetMomentOption convertReadableMapToGetMomentOption(ReadableMap map) {
|
|
267
267
|
GetMomentOption option = new GetMomentOption();
|
|
268
|
+
if (map.hasKey("userId"))
|
|
269
|
+
option.setUserId(map.getString("userId"));
|
|
268
270
|
if (map.hasKey("count"))
|
|
269
271
|
option.setCount(map.getInt("count"));
|
|
270
272
|
if (map.hasKey("timestamp"))
|
package/ios/JModelFactory.m
CHANGED
|
@@ -562,6 +562,11 @@
|
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
JGetMomentOption *option = [[JGetMomentOption alloc] init];
|
|
565
|
+
id userIdValue = dic[@"userId"];
|
|
566
|
+
if ([userIdValue isKindOfClass:[NSString class]]) {
|
|
567
|
+
option.userId = userIdValue;
|
|
568
|
+
}
|
|
569
|
+
|
|
565
570
|
id startTimeValue = dic[@"startTime"];
|
|
566
571
|
if ([startTimeValue isKindOfClass:[NSNumber class]]) {
|
|
567
572
|
option.startTime = [startTimeValue longLongValue];
|
package/juggleim-rnsdk.podspec
CHANGED
package/package.json
CHANGED