Pārlūkot izejas kodu

Update RCTAgora.m

yoonzm 6 gadus atpakaļ
vecāks
revīzija
3eeed541f1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      ios/RCTAgora/RCTAgora.m

+ 1
- 0
ios/RCTAgora/RCTAgora.m Parādīt failu

@@ -329,6 +329,7 @@ RCT_EXPORT_METHOD(getSdkVersion:(RCTResponseSenderBlock)callback){
329 329
     NSMutableDictionary *params = @{}.mutableCopy;
330 330
     params[@"type"] = @"onUserOffline";
331 331
     params[@"uid"] = [NSNumber numberWithInteger:uid];
332
+    params[@"reason"] = [NSNumber numberWithInteger:reason];
332 333
 
333 334
     [self sendEvent:params];
334 335
 }