Skip to content

[codex] fix Android native alarm flow#377

Merged
jjoonleo merged 12 commits into
mainfrom
codex/fix-android-alarm
May 6, 2026
Merged

[codex] fix Android native alarm flow#377
jjoonleo merged 12 commits into
mainfrom
codex/fix-android-alarm

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Android full-screen native alarm activity and AlarmManager launch plumbing.
  • Improve alarm reconciliation, fallback handling, missed-alarm catch-up, and status reporting.
  • Route native alarm launches through /scheduleStart before the active preparation flow.
  • Fix Google Sign-In ID token retrieval by configuring the server client ID and removing a duplicate listener.

Why

Android alarms were firing through notification-style behavior and the start action could land on home or skip the schedule-start prompt. This makes the Android alarm flow closer to the intended native alarm experience while preserving the existing Flutter preparation flow.

Validation

  • ./gradlew :app:compileDebugKotlin
  • flutter test test/presentation/app/bloc/schedule/schedule_bloc_test.dart
  • flutter test test/presentation/alarm/screens/preparation_flow_widget_test.dart
  • flutter analyze

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

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

https://ontime-c63f1--pr377-codex-fix-android-al-6snzydq9.web.app

(expires Wed, 13 May 2026 18:10:53 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

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

https://on-time-front-widgetbook--pr377-codex-fix-android-al-9v3bl5a0.web.app

(expires Wed, 13 May 2026 18:11:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

@jjoonleo jjoonleo marked this pull request as ready for review May 6, 2026 18:12
@jjoonleo jjoonleo merged commit bb6400f into main May 6, 2026
4 checks passed
@jjoonleo jjoonleo deleted the codex/fix-android-alarm branch May 6, 2026 18:12
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