Skip to content
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

Remove event store and local files when tracker is removed #690

Open
matus-tomlein opened this issue Jul 20, 2022 · 1 comment
Open

Remove event store and local files when tracker is removed #690

matus-tomlein opened this issue Jul 20, 2022 · 1 comment
Labels
category:breaking_change A breaking change will be introduced if this issue is completed. type:enhancement New features or improvements to existing features.

Comments

@matus-tomlein
Copy link
Contributor

When the user removes a tracker using Snowplow.removeTracker local tracker files and settings should be removed as well. This would include the SQLite event store and potentially other app settings.

There are several reasons to implement this behaviour:

  • tidy up the file system
  • hold as few data as possible locally
    • lower risks of data leaks
    • not to use more disk space than mandatory, as some users have limited iCloud storage space
    • avoid user sensitive data
@matus-tomlein matus-tomlein added the type:enhancement New features or improvements to existing features. label Jul 20, 2022
@matus-tomlein matus-tomlein modified the milestone: 3.3.0 Jul 30, 2022
@matus-tomlein
Copy link
Contributor Author

Note: this is a breaking change as it requires adding a new method to the EventStore interface (to clean up the event store).

@matus-tomlein matus-tomlein added the category:breaking_change A breaking change will be introduced if this issue is completed. label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:breaking_change A breaking change will be introduced if this issue is completed. type:enhancement New features or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

1 participant