-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to completely remove installed app? #953
Comments
With the latest version of p4a I experience no such thing.
Maybe you've tried |
Thanks, I'll look into this further... In case it makes a difference I'm still using the SDL/Pygame bootstrap. |
Aha just found it... My app's user_data_dir folder is: These don't get deleted if I uninstall my app. Is this an issue with the pygame bootstrap? |
Probably something to do with this change which I may not have pulled into my p4a repo... Will verify later - sorry for the posting noise. |
No, this is purely Kivy thing and I didn't find anything from p4a to even target such file (that env. var is something different). I think it's just unhandeled behavior from the Kivy side, because the I'm not sure if it's desired, however the app contains the default If you'd target |
Checked this with newest p4a and yes, config file and user_data_dr still reside in the same place and are not deleted with the app. However I don't have the same issue on ios. Can close if this should be moved to kivy repo? Cheers |
Are you sure there are no leftovers in iOS somewhere in the system? About the |
I made the ios comment because if I delete my app and reinstall it it
behaves as if it has just been installed for the first time, which makes me
think that the config file for my app is getting deleted on uninstall. I
haven't actually checked the file system.
Thanks
…On 10 December 2016 at 11:56, Peter Badida ***@***.***> wrote:
Are you sure there are no leftovers in iOS somewhere in the system? About
the user_data_dir, that folder isn't deleted anywhere afaik - desktops &
android.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#953 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFXkhRwDxtClXEY_y4ezXveNkw3l9MQqks5rGpOBgaJpZM4LHptQ>
.
|
@hottwaj Could you please post some minimal example that creates such a config file? I tested with latest kivy and p4a this one:
But both on Windows and Android it either creates a new one or overwrites in:
If your code uses |
Sure I will get this done, but probably not until next week - busy times! Cheers |
@hottwaj Please don't forget about this issue, it seems really useful for resolving the additional permission of casual kivy apps. |
Sure, I have it on my list. I just looked through my config code and can't see anything obvious - I don't use Config.read of Config.update_config. It will take me more time to build a simplified test I'm afraid. In the meantime in case it's useful, I use the following config related functions, roughly in this order: Sorry, probably not very helpful... will try to put a simple test together soon. Thanks |
Probably it won't be needed anymore, the description was enough. It's the example from
|
Cool, glad that description was helpful! Thanks |
Uh oh. I currently rely on this (mis?)feature. Can you give me some time to have a more detailed look and think of a solution that addresses both the described issue, and the way I'm currently using it? |
@llfkj here, I zoomed it for you 🐼 bad line. This is why the config is thrown to sdcard like if it is a root folder. It could be fixed with targeting directly external storage directory, which I guess is removed after uninstalling the app (or removing its data, testing welcome). More about it here. According to that quote it's removed, yet I experienced weird stuff on Gingerbread like 2 years ago, so...:
That, however, fixes things only for android and I'm still waiting for a reply about iOS, so that it could be fixed globally. :) |
Closing as a Kivy issue rather than a p4a one, which we're aware of and working to fix. |
@inclement just for what it's worth, pretty sure it's already fixed on kivy master with the recent config & user data location change on android. (I pushed for that one because of the SDL2 upgrade that introduced the permission stuff that needs it) 👍 |
@Jonast Thanks, I wasn't sure if it was actually fixed yet. That's great :) |
I'd like to test what happens on first install of my app, but there seems to be some residual settings (kivy config?) files stored somewhere that aren't deleted when I uninstall the app, or when I "Clear app data" as per this link
What steps do I need to follow to completely delete the app, all settings and all user data?
Thanks!
The text was updated successfully, but these errors were encountered: