-
Notifications
You must be signed in to change notification settings - Fork 81
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
I think there is a bug #36
Comments
Hi, Once persists all its data with sharedpreferences. So if the app is wiped or uninstalled that's gone too. At the moment this is working as intended as I didn't want to pollute the users phone with files that wouldn't get cleaned up. A future feature could be to have an option to store data outside this sandbox but then it might be tampered with by other apps or the user. In the meantime you'll need to either store this information server side (if you have one) or write it to a file yourself. |
Interestingly, after a clean reinstall, my app claims that |
@Harti If you can write a failing test that would be amazing. Failing that you should be able to debug your app, set a breakpoint and then inspect the contents of the underlying collections in Once, theres an in-memory map that stores tags and when they were last seen. Behind that it's stored in sharedpreferences, I can't think of way that your sharedpreferences are surviving a clean reinstall, unless there's something unusual your doing? |
@Harti maybe you have |
@AntonyGolovin yep, I do. Good catch! I'm assuming removing it will fix my issue (I'm unable to test it right now)? |
Yes, |
Is there a possibility of implementing some sort of XXX_RESET_BACKUP flag that resets the values restored from allowBackup ? I think app reinstall should give clean slate on guide, introduction status. |
If I uninstall the app or clear data,it will reset all buttons.But I don't want it happen,How can I do?
The text was updated successfully, but these errors were encountered: