unical_flutter 0.1.0
unical_flutter: ^0.1.0 copied to clipboard
Flutter device-calendar backend for unical, built on device_calendar_plus. Reads and writes events on the Android Calendar Provider and iOS EventKit — including corporate calendars already synced on t [...]
unical_flutter #
Device-calendar backend for unical, built on
device_calendar_plus. Reads and writes events on the Android Calendar
Provider and iOS EventKit — including corporate calendars (Google, Exchange)
already synced on the device — with no OAuth and no server.
Device calendars have no tasks and no custom X- properties, so this backend
reports Capabilities.deviceCalendar: the engine runs the driftOnly
strategy, task percent/tags stay in the caller's store, and the calendar shows
a clean event projection. Task methods throw UnsupportedError.
final backend = DeviceCalendarBackend(calendarId: myCalendarId);
await backend.requestPermissions();
final engine = SyncEngine(backend: backend, mappings: driftMappingStore);
Needs READ_CALENDAR + WRITE_CALENDAR on Android and the calendar usage
description keys on iOS (see device_calendar_plus).