Infrastructure high complexity mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Flutter platform channel bridge that exposes native calendar APIs to Dart. Implements the EventKit-backed MethodChannel handler in Swift/ObjC for iOS and the ContentResolver-backed handler in Kotlin/Java for Android. Provides a unified method interface so CalendarIntegrationService remains platform-agnostic.

Feature: Calendar Sync

calendar-platform-channel

Responsibilities

  • Implement iOS-side MethodChannel handler using EventKit (EKEventStore) for permission and event reads
  • Implement Android-side MethodChannel handler using ContentResolver calendar API for permission and event reads
  • Serialize/deserialize RawCalendarEvent objects across the platform boundary
  • Handle platform-specific permission rationale requirements (iOS NSCalendarsUsageDescription, Android READ_CALENDAR manifest permission)

Interfaces

checkPermission() → PermissionState
requestPermission() → PermissionState
queryEvents(startMs: long, endMs: long) → List<Map>
insertEvent(eventMap: Map) → String eventId

Relationships

Dependents (1)

Components that depend on this component