Skip to main content

Managing the Calendar (Reminders & Events)

Managing the Calendar (Reminders & Events)

Use this component to to add, update and remove events from your calendar. To get started using it, you must use KmpCalendar.

Below are the functions available.


_3
KmpCalendar.addCalendarEvent(eventInfo: CalendarInfo): String
_3
KmpCalendar.removeCalendarEvent(eventId: String): Boolean
_3
KmpCalendar.updateCalendarEvent(eventId: String, eventInfo: CalendarInfo): String

Any Setup Required?

For android please add this into your manifest:


_2
<uses-permission android:name="android.permission.READ_CALENDAR" />
_2
<uses-permission android:name="android.permission.WRITE_CALENDAR" />

For iOS please add this into your info.plist:


_1
<NSCalendarsUsageDescription>Reason for requiring access to the calendar</NSCalendarsUsageDescription>