Apps that are live on the public app store and allow users to create accounts must allow users to delete their personal data from within the app. This is a mandatory requirement from Apple’s app store guidelines and will be enforced from the 30th of June 2022. You can find more information on this here

Please keep the following in mind when adding this feature to your app:

  1. The account deletion option should be easy to find in your app
  2. It’s insufficient to only provide the ability to temporarily disable or deactivate an account. Users should be able to delete the account along with all of their personal data

Get Started

To set up the account deletion option on your app you will need to:

  1. Add the delete account screen template to your app
  2. Ensure the email field matches the JavaScript
  3. Test your delete account screen

Step 1 – Add the delete account screen template to your app

  1. Whilst in edit mode, click the “Add screens” button
  2. Select the “data capture” tab and add the delete account screen to your app
  3. Once added to your app, make sure to add a link to this screen to your app, for example, on the menu or the profile options

Step 2 – Ensure the email field matches the JavaScript

  1. The screen template is configured to work if your log-in data source has an email field named “Email”.
  2. If your email field is named differently, you will need to update the JavaScript to ensure the screen works correctly
  3. On the delete account screen, open the developer options by clicking the </> icon from the right hand side menu
  4. Ensure the JavaScript tab is open
  5. Update the below highlighted text on line 2 in the JavaScript to match the name of the email field in your log in data source
  6. DO NOT use the screen template before ensuring that your email field matches the JavaScript exactly

Step 3 – Test your delete account screen

Once the delete account screen has been created we recommend testing the functionality to ensure it works as expected. 

  1. Create a new test user for your app 
  2. In Preview mode log in with your test user
  3. Interact with the app functionality, bookmark, and like items
  4. Go to the delete account screen 
  5. Click on the delete account button 
  6. A confirmation message should pop up on your screen
  7. Once this is done, try logging in with the same credentials, the app shouldn’t allow you to login 
  8. Once the tests are done, in Fliplet Studio verify that the test user’s data has been deleted, and any bookmarks and likes have been removed
  9. Once the feature is working as expected, please publish an in-app update to see these changes reflected in the live app
Was this article helpful?
YesNo