Skip to content

Add anonymous usage analytics with opt-out#51

Merged
datlechin merged 1 commit intomainfrom
feat/usage-analytics
Feb 13, 2026
Merged

Add anonymous usage analytics with opt-out#51
datlechin merged 1 commit intomainfrom
feat/usage-analytics

Conversation

@datlechin
Copy link
Copy Markdown
Member

Summary

  • Add AnalyticsService that sends a lightweight heartbeat every 24 hours (app version, OS, architecture, locale, database types, connection count)
  • Add opt-out toggle in Settings > General > Privacy (default: on)
  • Sign requests with HMAC-SHA256 to prevent unauthorized API calls
  • Add Vietnamese translations for all new UI strings
  • Update CHANGELOG

Test plan

  • Build succeeds with xcodebuild
  • Settings > General shows "Privacy" section with toggle
  • Toggle off → no heartbeat sent (check Console.app logs)
  • Toggle on → heartbeat sent after 10s delay
  • Verify X-Signature header is present in network request

- Add AnalyticsService that sends a lightweight heartbeat every 24 hours
  (app version, OS, architecture, locale, database types, connection count)
- Add opt-out toggle in Settings > General > Privacy
- Sign requests with HMAC-SHA256 to prevent unauthorized API calls
- Add Vietnamese translations for all new strings
@datlechin datlechin merged commit 7503192 into main Feb 13, 2026
@datlechin datlechin deleted the feat/usage-analytics branch February 13, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant