fix: smart alarm feature fails to fetch when application is not opened for a long period of time#33
fix: smart alarm feature fails to fetch when application is not opened for a long period of time#33erik-keifer wants to merge 5 commits into
Conversation
Fix: refresh smart alarm guidance when app returns to foreground
There was a problem hiding this comment.
Pull request overview
Updates the app lifecycle handling to refresh smart alarm guidance when the app returns to the foreground.
Changes:
- Observes
scenePhaseinSleepFocusAppand triggers a forced refresh of smart alarm guidance when the app becomes active. - Syncs smart alarm runtime (notifications / live activity) after the foreground refresh.
- Removes
InsightsStorewiring from the app root.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…cusApp.swift Agent-Logs-Url: https://github.com/SleepFocus/SleepFocus_Frontend/sessions/a3bb8221-b5e4-45b0-b37c-98e64793f618 Co-authored-by: austinkimchi <40729751+austinkimchi@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SleepFocus/SleepFocus_Frontend/sessions/6d87427a-7488-4920-8ffc-ca2ddb97e755 Co-authored-by: austinkimchi <40729751+austinkimchi@users.noreply.github.com>
|
@erik-keifer
I believe this might have been fixed with commit 6e27cae. |
After reviewing PR #39 and commit
The fix in this PR (observing |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
InsightsStoreas@StateObjectand inject via.environmentObject