snowplow / snowplow-ios-tracker

Snowplow event tracker for Swift and Objective-C. Add analytics to your iOS, macOS, tvOS and watchOS apps and games
http://snowplow.io
Apache License 2.0
81 stars 93 forks source link

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

Open matus-tomlein opened 2 years ago

matus-tomlein commented 2 years ago

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:

matus-tomlein commented 1 year ago

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