I usually get into the same pitfall: Network on Main Thread error.
The problem is: “internal client error - message: null” tells exactly nothing.
I suggest to add some more meaningful errorCodes than null.
cheers,
Jens
Jens,
This usually happens when you make a sync call on the UI thread.
Regards,
Mark
I am getting this error on practically every method. for e.g in this one
Backendless.UserService.login(email, password, new AsyncCallback<BackendlessUser>() {
@Override
public void handleResponse(BackendlessUser backendlessUser) {
//TODO : handle response
}
@Override
public void handleFault(BackendlessFault backendlessFault) {
if (backendlessFault != null) handleLoginFault(backendlessFault);
}
});
I got it working, issue was during initialisation i passed wrong version.
it should be v1