We recently added the ability for a user to delete their account as per the 5.1.1 guidelines.
Our app was later rejected because the account we provide for logging in was deleted by an Apple reviewer. We can create a new account that reviewers can use to sign in, but how do we prevent this from happening again? I understand the desire to verify account deletion, but if reviewers are constantly deleting the account used for approval, we'll be in an endless cycle of rejections. What should we do?
Here's what our team has decided to do in case anyone else runs into this issue:
- Recreate an account similar to the one that the Apple Store reviewer deleted (with the correct data, permissions, etc.)
- In the delete account code, check for this account and don't allow it to be deleted. Instead, show a modal that explains that this specific account cannot be deleted, and if they would like to test account deletion, they can log out and create a brand new account to delete.
- Include this info in the review notes.
This way, the onus is on them to create new accounts if they need them, they can still test account deletion, and the reviewer account will be preserved. Hopefully, they will accept this approach. This definitely doesn't solve anything for apps where you are required to go through some sort of buyflow to even create an account though. I'll be interested to hear what people come up with when June 30 rolls around.