5

As I am able to create new user from same url but unable to Login in cometchat

   cometchat.login(url, "username","password", new Callbacks() 


        @Override
        public void successCallback(JSONObject success) {
            Log.d("Success-->", success + "");
        }


       @Override
       public void failCallback(JSONObject fail) {
       Log.d("Fail Login-->", fail + "");
       //createUser();
      }
      });

Response: { "code": "206", "message": "com.android.volley.ServerError" }

vivek bhardwaj
  • 236
  • 1
  • 13

2 Answers2

-1

It will issue on server side.. so check & test.

-2

The code reference mentioned in the query for SDK seems of an older version. We can ask to refer to the new SDK version 6.3.2 and create a support ticket if there is an issue on/for this. In the New SDK function name is "loginCallbacks"

halfer
  • 19,824
  • 17
  • 99
  • 186
CometChat
  • 57
  • 3