Purple Experience
Experience Menus
Account Deletion from the App
3min
To comply with app submission requirements from the App Stores, a menu entry for account deletion must be added to the Purple App. The 'Delete Account' menu entry directs users to an external customer-managed entitlement page where they can delete their account.
- Ensure the app menu ("app_menu.xml") includes a link to the customer's entitlement page.
- The entitlement flow must be set up and managed by the customer.
- The customer must handle the user authentication and account deletion process on their external website.
![delete item menu in app_menu.xml delete item menu in app_menu.xml](https://images.archbee.com/ygR6KtT9QI_R0u3uKTJsm/MKRT2i-9a_rx2aA0dNp7w_account-deletion.png?format=webp)
Flow to delete a user account in the Purple App
- Open the App Menu:
- Tap on the menu icon within the app.
- Select "Delete Account":
- In the app menu, find and tap on the “Delete Account” option.
- Redirect to Customer's Website:
- You will be directed to an external website managed by the customer.
- Login Again:
- As no session token is transferred, you will need to log in again on the external website.
- Delete Account:
- Click on “Delete my account” on the customer’s website and confirm your decision.
- Receive Success Message:
- A success message will appear, confirming that your account has been deleted. This step is managed by the customer.
- Return to the App:
- Close the in-app browser to return to the Purple App.
- App Response:
- The app will perform the following:
- Execute the on-resume logic.
- Verify login, which will return "token is invalid."
- Display the logged-out screen to the user.
- Post-Deletion:
- You will not be able to log in again without a new registration.
- Purchases made from app stores will still be available, but entitlement purchases will not be accessible anymore.
Updated 19 Jul 2024
Did this page help you?