Ever since I started using App Groups to share Core Data between my App and a Today Extension/Widget I am having an issue. When I delete my app the core data maintains on the device, instead of being deleted like it used to.
I am aware this question has been asked before: Uninstalling app not delete app group data .Do I have to remove app group container and it's content manually?
The answer says it was a bug and Apple fixed it. I however still have the problem with iOS 9.2
How can I make sure that removing my app also removes the Core Data?
App data and cache is deleted. But any folders/files the app makes in your storage directory will not be removed.
You can go to the Settings app, scroll down to locate the App Store option. Tap it and then choose Personalised Recommendations. Tap on Clear App Usage Data and then tap it again to confirm that.
This question may not be a major concern on the traditional computing platforms, because when an app is uninstalled, its data still belong to the users, and the security parameters of those data do not change. In Android, when an app is installed, except in some special situations, a new user is created.
So in the end, I figured it out. A very old version of the app(Made with a different framework) was still installed on the test device, which happened to have the same App group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With