Skip to content

[codex] add analytics preference tracking#517

Merged
jjoonleo merged 1 commit into
mainfrom
feature/analytics-preference
May 26, 2026
Merged

[codex] add analytics preference tracking#517
jjoonleo merged 1 commit into
mainfrom
feature/analytics-preference

Conversation

@jjoonleo
Copy link
Copy Markdown
Contributor

Summary

  • Add a config-gated Firebase Analytics service and opt-in analytics preference flow.
  • Add local/account analytics preference data sources, repository, use cases, and My Page toggle.
  • Track the first schedule_created product usage event from schedule creation.
  • Document the analytics event catalog, preference API expectations, privacy/release checklist updates, and ADRs.

Validation

  • dart run build_runner build --delete-conflicting-outputs
  • flutter analyze
  • flutter test
  • After the final DI cleanup: flutter test test/core/services/fallback_alarm_notification_service_test.dart test/presentation/my_page/my_page_screen_test.dart

Notes

  • Analytics collection remains disabled unless ONTIME_ANALYTICS_ENABLED=true and the loaded preference is confirmed enabled.
  • Backend issue DevKor-github/OnTime-back#318 is closed; hosted privacy policy issue DevKor-github/OnTime-back#319 remains release-gated.

@jjoonleo jjoonleo marked this pull request as ready for review May 26, 2026 14:19
@jjoonleo jjoonleo merged commit 16a265d into main May 26, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 8a97d38):

https://ontime-c63f1--pr-517-d6ju5y70.web.app

(expires Fri, 29 May 2026 14:23:29 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 8a97d38):

https://on-time-front-widgetbook--pr-517-qxqmr6kw.web.app

(expires Fri, 29 May 2026 14:24:25 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

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