Repository navigation
Add home screen widget and optional fast-end notification - #6
Merged
Merged
Conversation
iOS WidgetKit extension shows today's calories and the fasting timer, fed through an App Group by home_widget on every sync. Settings gets a toggle (default off) that schedules a local notification for the fast's endsAt. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
YarinQuapi
force-pushed
the
home-widget-and-fast-reminders
branch
from
November 12, 2026 11:56
8b26551 to
98b285d
Compare
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.
What
apps/mobile/ios/DropItWidget, small + medium): today's calories (consumed / target) and the fasting timer (live countdown, or the scheduled window when no fast is running). Uses system semantic colours (light/dark) and follows the app language/RTL.lib/widget_sync.dart(home_widget) writes into the App Groupgroup.dev.yarinlevi.dropitfromsyncReminders(), which now also fetches/api/days/today. It runs on launch, resume, fast start/stop, add/delete entry, logout and toggle changes.prefs.json). Schedules a local notification atendsAtwhile a fast is running; cancelled on stop or when toggled off. Existing window reminders no longercancelAll(), so they don't wipe it.copy.dart; README documents setup.Reviewer notes
DropItWidgettarget (scripted via xcodeproj).flutter build ios --simulator --no-codesignpasses;flutter analyzeshows only pre-existing infos.dev.yarinlevi.dropitanddev.yarinlevi.dropit.DropItWidgetin the Apple developer portal. A free Personal Team may need the IDs changed.android/project exists, so no Android widget; README describes what to add.master(older than origin/master), so a rebase may be needed.🤖 Generated with Claude Code