WordPress-Android
WordPress-Android copied to clipboard
Deleting an account via the web doesn't remove it from the app
Expected behavior
I expected that after I deleted an account from the web, it would be removed from the app immediately.
Actual behavior
Instead, the account is not removed. The user is brought to the login screen, however they are not in fact logged out. Pressing the back button gets them back into the account. It's possible to navigate throughout the app, with no data appearing.
https://user-images.githubusercontent.com/15107387/167609664-8bbda704-b86b-4555-b448-b2ded0108e43.mp4
Steps to reproduce the behavior
- Create a new account you'd like to delete.
- Open that account in WordPress.com on a web browser, and delete it.
- Head back into the app to look around. Note that you are initially on the login screen, which implies you are logged out - but there is a back button available.
- Navigate around your account after tapping the back button.
Tested on Samsung Galaxy S21, Android 12, WPAndroid 19.8-rc-2.
Related: deleting a site from the web has similar effects: https://github.com/wordpress-mobile/WordPress-Android/issues/16511