quickblox-ios-sdk: Joining group chat not working on ios and android

Just short because I have to go. Could you please have a look at this?

2.6.6 On IOS:

                 [_room joinWithCompletionBlock:^(NSError * _Nullable error){

                        NSLog(@"ROOM JOINED BLOCK - ENTER");

                        if(error ==nil){
                            //[_room requestOnlineUsers];
                            NSLog(@"ROOM JOINED BLOCK - SUCCESS");
                            [weakSelf setDialog:_room];
                            [weakSelf theChatRoomDidEnter:_room];
                        }else{
                            NSLog(@"ROOM JOINED BLOCK - ERROR %@",error.description);
                            [weakSelf errorJoinChatRoom:error.description];
                        }
                    }];

Block is never reached

On Android: private void joinGroupChat() {

       ((GroupChatImpl) chat).joinGroupChat(dialog, new QBEntityCallbackImpl() {
            @Override
            public void onSuccess() {
                // If messages read, event is saved, previous activities updated
                if (event != null && event.getUnreadMessages() > 0) {
                   // updateEventWithMessagesRead();
                    //setResult(MyBaseActivity.RESULT_UPDATE_MAIN);
                }
                didJoinChatOnce = true;


                // Load Chat history
                //
                Log.d(TAG, "Chat connecting 2:");

                loadChatHistory();
            }

            @Override
            public void onError(List list) {
                Log.d(TAG, "Chat error connecting 2:" + list.toString());
                showStatusJoinChat(getResources().getString(R.string.chat_error_connecting)  + event.getTitle(), true);

            }
        });
    }

Error is: Chat error connecting 2:[NoResponseException] Andorid sdk: 2.3.1

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 26

Most upvoted comments

Hi @rvilches Please create separate issue. Also specify your quickblox account type and full log of error.