浏览代码

Update RCTAgora.m

yoonzm 6 年前
父节点
当前提交
3eeed541f1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      ios/RCTAgora/RCTAgora.m

+ 1
- 0
ios/RCTAgora/RCTAgora.m 查看文件

@@ -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
 }