App bundle remains after the user deletes the app

Hi!

We have an app that is distributed privately through Apple Bussiness Manager to a certain company. Here is the situation:

  1. The user deletes the app
  2. The user reinstall the app from AppStore
  3. The app displays an error according to which it already finds a database on the phone

Using the device console from xcode I found the the app bundle is not deleted when the app is deleted.

If the user deletes the application, shouldn't all data related to the application be deleted?

  • I've noticed the same thing happening. Not just databases but things like values in defaults remain. But only for a short while, if you delete an app then reinstall it within a few or several seconds of deleting it then this occurs, if the time gap is longer, say a few minutes, then it gets deleted.

Add a Comment