Building a Purple Experience
...
Experience Menus
App menu configuration in the ...
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.
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 13 Sep 2024
Did this page help you?