Why not ask the user if they want to delete the account settings, the app data or both? One might uninstall apps for a variety of reasons, so maybe the best approach is to let the user decide what to do (maybe even adding some info about how much storage the app data is using could be useful when prompted for a decision)
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to click in Ubuntu. https://bugs.launchpad.net/bugs/1358294 Title: App data and config files are not removed when an app is uninstalled Status in Band-aids for Ubuntu Phone: New Status in Canonical System Image: Confirmed Status in Ubuntu UX: New Status in click package in Ubuntu: In Progress Status in unity-scope-click package in Ubuntu: Triaged Bug description: If an app uses ~/.config/foo (say, uses Qt.labs.settings), and the user uninstalls the app, ~/.config/foo is not removed. It should be deleted when the app is uninstalled. Using latest utopic on the phone. --------------------- Desired resolution: - When a user deletes an app, 100% of files associated with the app should be deleted. - A warning notification should be displayed when a user goes to delete an app informing them that this action will also delete any data they have stored inside the app. This notification should give the options of cancelling or proceeding with the action. - Users should not be allowed to delete the key apps that ship with the phone. These key apps are defined as: Dialler, Address book, Messaging, Browser, Camera, Music player The above will give the user a simple easy to understand mental model while simultaneously protecting the user from deleting important content within the default apps. To manage notifications about this bug go to: https://bugs.launchpad.net/band-aids-uphone/+bug/1358294/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp