Hey,
i have a big problem. Everythig works fine until I want logout from my app. I press logout button, it logouts (make all in handleresponse - close current activity, go to login activity) then i fill up login and password again and then it occurs error 3044 (i got 1 multiple login for account saved):
Multiple login limit for the same user account has been reached.
Here is my logout method (i login with stayLoggedIn argument):
private void logoutUserAsync() {
AsyncCallback<Void> callback = new AsyncCallback<Void>() {
@Override
public void handleResponse(Void aVoid) {
Toast.makeText(MainActivity.this, "Logout", Toast.LENGTH_SHORT).show();
Intent goMain = new Intent(getApplicationContext(), LoginActivity.class);
//goMain.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK|Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(goMain);
finish();
}
@Override
public void handleFault(BackendlessFault backendlessFault) {
utils.progressDialogDismiss();
}
};
Backendless.UserService.logout(callback);
}