Service Layer low complexity mobile
2
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Optional service that creates calendar entries on the device for activities that have been successfully registered in Meander. Constructs a structured calendar event (title from activity type, date/time, contact name as attendee note) and delegates creation to CalendarIntegrationService only when the user has enabled write-back in settings.

Feature: Calendar Sync

calendar-write-back-service

Responsibilities

  • Check write-back preference before attempting to create any calendar entry
  • Compose a well-formed device calendar event from a registered activity record
  • Invoke CalendarIntegrationService to persist the calendar entry on-device
  • Handle write failures gracefully without blocking the activity save flow

Interfaces

createCalendarEntryForActivity(activity: Activity) → Future<void>
isWriteBackEnabled() → bool

Relationships

Dependencies (2)

Components this component depends on