I am able to create User but not able to add it in group.
I write userId and
groupid as "bd" group title name, i tried with uuid too.
client.addUserToGroupAsync(userId,groupid, new ApiResponseCallback() { @Override public void onException(Exception ex) { Log.i("AddUserToGroup", ex.getMessage()); } @Override public void onResponse(ApiResponse response) { Editor ed = pref.edit(); ed.putBoolean("activity_newexecuted", true); ed.commit(); finish(); } });
Please try a curl command with the same values to rule out any other issues.
POST request to the following URL should help.
/{org_id}/{app_id}/groups/ {uuid|groupname}/users/{uuid|username}
If this persists, please let know what is the error you are when you use your SDK.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |