Skip to content

Add device calendar export for TUM calendar events#334

Open
ManuelMuehlberger wants to merge 3 commits intoTUM-Dev:mainfrom
ManuelMuehlberger:feature/calendar-sync-device
Open

Add device calendar export for TUM calendar events#334
ManuelMuehlberger wants to merge 3 commits intoTUM-Dev:mainfrom
ManuelMuehlberger:feature/calendar-sync-device

Conversation

@ManuelMuehlberger
Copy link
Copy Markdown

This PR adds support for exporting TUM calendar events to the device calendar and addresses issue #217.

Events are written to a TUM Campus calendar on the device using device_calendar. This is a one-way export: TUM events are mirrored to the device calendar, but changes on the device are not synced back to TUM.

The settings screen now includes an export toggle with confirmation dialogs that explain the behavior a bit more clearly. Exported events are refreshed whenever the app is started. This PR also prevents duplicate event creation when the submit button is tapped repeatedly.

I am very open to feedback.

Testing

  • Tested on iOS Simulator
  • Tested on a physical Android device

Related

- add device_calendar dependency and resolved lockfiles
- configure Android calendar permissions and ProGuard keep rules
- add iOS calendar usage descriptions and updated Podfile.lock
- add CalendarSyncService for one-way export to a device calendar
- register and trigger calendar mirroring from CalendarViewModel
- add calendar sync preference support
- prevent duplicate event creation by guarding repeated save taps
- add settings state for device calendar export
- replace sync wording with export wording
- add confirmation dialogs explaining one-way export behavior
- add English and German translations for the new copy
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.

[Feature] Calendar Sync with Device's Calendar

1 participant