cometchat sdk joinChatroom as guest return exception

75 Views Asked by At

I'm using cometchat sdk for ios project on objective c

I log as a guest : guestLoginWithURL, after that i join group like that :

    [cometChatRoom joinChatroom:chatRoomName chatroomID:chatroomID chatroomPassword:@"" success:^(NSDictionary *response) {

there is a crash from api :

[10374:1738831] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'

When user is not a guest join Chatrooms work

Can anyone help please ?

1

There are 1 best solutions below

1
On

You're using our older SDK which we no longer support. Please move to the latest SDK in order to get this working.