Is there a mechanism or guideline on how to warn a user when removing an app that stores private data will also erase that private data?
Imagine that an app stores an end-user license, an authentication token, or a private key in one of the subfolders of
~/snap/FOO_BAR. Uninstalling that snap will remove those folders and absent a previous backup, also the contents of these folders irrevocably.
So what is the recommended way to handle this?