apps data does not clear after uninstallation
some apps which have login detail remains even if app is removed. after reinstalling the app, the apps state found the same as it before removing.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
some apps which have login detail remains even if app is removed. after reinstalling the app, the apps state found the same as it before removing.
Unfortunately SailfishOS can not automatically uninstall any configuration/settings data written by applications when uninstalling pacckages. Application developers should add such functionality to applications themselves.
So a user has to open the app and clear the cache manually before removing the app? Thats not how this should work. The user expects that all relevant data is removed from the device automatically when the app gets removed. That is what Android does (and maybe iOS, too?).
ejjoman ( 2016-09-29 11:17:44 +0300 )editI think, we (the developers) need a way to clean up behind ourselves, too!
Currently, a developer is not able to clean the settings (dconf), caches or local databases. I am currently working on Hipsterfish (Instagram client) and when I implement caching, the cache size could get really huge. No normal user will understand that he needs to clear the cache manually after removing the app.
IMHO the best way to achieve this, would be to allow RPM postun-scripts in harbour apps. Maybe Jolla could provide simple commands that are allowed to be run safely:
As the standard paths are already defined, the commands could ensure that only the app's data can be cleared. Jolla should even be able to validate these commands in the RPM validator (white listing).
I agree that there should by a system-wide option to remove or keep the data (I would definitly leave this decision at the user's side!). Maybe in a similar way as it is currently done with android apps? However, it should also be possible after the app is uninstalled, so there need to be some sort mechanism (database, scan in specific folders like .config) for remains of an app independently of their installation status
till ( 2016-09-29 11:34:19 +0300 )editApps which use sqlite database leave your personal data to the folder .local/share/harbour-appname. If you want to delete saved data, you need to remove that folder. I find this feature useful. The app is removed but personal data is still available.
yes it may be useful But what about normal user who doesn't want to leave data behind. who doesn't know what is sqlite database. who doesn't care about file-browser. remember we are going to make sailfishos for everyone on this planet not for just developer or advanced user. there should be option to remove app data during uninstallation.
motubha ( 2016-09-29 05:57:24 +0300 )editI love this behavour :)
You may search the settings in /home/nemo/.config or in /hom/nemo/.gconf.
You may want to search via console with:
find / -name *<appname>*
If not comfortable with terminal, you can use the excellent app SearchNemo. Available from Store.
eson ( 2016-09-29 12:39:40 +0300 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2016-09-28 20:31:55 +0300
Seen: 1,328 times
Last updated: Sep 29 '16
PBAP bluetooth profile support is requested [released]
My Jolla does not recognise any micro sd card. What I can do? [answered]
Add skype integration to sailfish os
Add DBus interface to stock music player [released]
[How-To] WPA-802.1X (enterprise), eduroam +[Others] GUI wifi support needed + workaround [released]
Allow for multiple notification destinations
Prevent accidental shutdown [answered]
Android applications should not be grouped in the same window [released]
so were is the bug?
till ( 2016-09-28 20:45:22 +0300 )editThe same goes for most Linux distributions, maybe all.
eson ( 2016-09-29 12:19:22 +0300 )editRelated question: https://together.jolla.com/question/24792/option-to-purge-removed-applications/
Alex ( 2018-09-02 15:49:49 +0300 )edit