Closed tiendn closed 6 years ago
Thank you for the fix
After reading iOS
module, I think, we don't need change getCallerID() above.
The problem with this code below, you forgot to add userId in NSDictionary then Android receive no userId:
NSString* userId = [NSString stringWithFormat:@"%lu", self.currentUser.ID]; // <-- Add this line
NSDictionary *userInfo = @{ @"callRequestId": callRequestId,
@"sessionId": self.session.ID,
@"realName": realName,
@"avatar": avatar,
@"userId": userId}; // <-- Here.
There is no "userId" in getUserInfo(), replace by function getCallerID()