瀏覽代碼

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
 }