Building a Purple Experience
...
Menus
App_menu.xml
Account Deletion from the App
3min
summary 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 preconditions 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 description 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