Skip to content

v2.0.0 - Session-Based Analytics

Choose a tag to compare

@loheden loheden released this 10 Dec 17:53
· 9 commits to main since this release

⚠️ Breaking Changes

  • REMOVED: identify() method
  • REMOVED: reset() method
  • REMOVED: SharedPreferences storage for user IDs

What's New

Session IDs are now managed automatically:

  • 🔄 New session on every app launch
  • ⏱️ Automatic 2-hour rotation
  • 💾 RAM-only storage (no disk persistence)
  • ✅ Designed for GDPR/ePrivacy compliance - potentially consent-free

Migration from v1.x

Simply remove any calls to identify() and reset(). That's it!

Why This Change?

Storing identifiers on device (SharedPreferences) requires user consent under ePrivacy Directive Article 5(3). In-memory sessions require no consent, making Respectlytics truly consent-free.