feat: i18n for caregiver_app, UTC datetime fixes, and grumphp config#5
Merged
Conversation
Add EN/FR localization to caregiver_app: - AppLocalizations abstract class + EN/FR implementations - Wire flutter_localizations delegates in CaregiverApp - Replace hardcoded strings in all 3 screens Fix datetime UTC consistency: - Send fallTimestamp as UTC ISO 8601 (isUtc: true) to backend (local time caused fall_detected_at / received_at mismatch in DB) - Store local FallEvent timestamps as UTC for correct .toLocal() - Always submit fall to backend regardless of contacts count (recording and notification are separate backend concerns) Fix alert flow when app is backgrounded: - Add handleExpiredCountdown() to recover from lost Dart Timers when Android pauses the Flutter engine in background - Add USE_FULL_SCREEN_INTENT permission prompt on Android 14+ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Raise max_subject_width from 72 to 120 and disable max_body_width (set to 0) so commit messages are not rejected for line length. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
caregiver_app(home, link, active alert screens) driven by device languagefall_detected_attimezone bug: timestamps now sent as UTC ISO-8601 instead of local timehandleExpiredCountdownrecovery for when Android pauses the Flutter engine during countdownUSE_FULL_SCREEN_INTENTpermission on Android 14+ at app startupmax_subject_widthfrom 72 → 120 and disablemax_body_widthTest plan
flutter analyzeclean on bothflutter_appandcaregiver_appflutter testpasses (57/57) influtter_appfall_detected_at≈received_at)failed)caregiver_appdisplays strings in French on FR device, English on EN device🤖 Generated with Claude Code