5

Is there a possibility for iOS & Android to delete all data when uninstalling the mobile application? his does not mean the debug version of a developer on a test device. This scenario should be ensured.

1
  • Starting with Android 11 and all other iOS versions, all the data is deleted when the user uninstalls an application. Commented Apr 1, 2021 at 8:37

2 Answers 2

3

iOS deletes all the data related to your app when the user uninstalls the app.

However, things are little different in Android. Before Android 11, you could have saved the data in device external storage which isn't deleted after uninstalling the app although the internal storage data (Android > data > com.xxx) is deleted.

But with Android 11, you don't need to worry about the external storage data anymore because you have no access to it and hence you can't store anything there. So, you're only left with the internal storage.

So, all the data will be deleted automatically when the user uninstalls the app.

Sign up to request clarification or add additional context in comments.

1 Comment

Is there anything to backup the claim that iOS deletes all app data when uninstalling the app? Because there seems to be at least an asterisk as per this question this does not seem to apply universally.
2

This is done by the OS(Android/iOS) as all the data is deleted when the app is uninstalled.

In addition to this, you should check android:allowBackup and android:fullBackupContent options in your manifest file. Check more info here

If you want to also delete some files that we store in a folder on the sd card? You will not be able to, since those files are no longer your app files but just some files that the app uses and you can consider storing them in a different way.

3 Comments

With Android 11.0, you no longer have access to the external storage.
You do not have access as you had before but you still have access to store files. You are just forced to place them in the right folder.
Sorry I didn't get the first line clearly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.