개요
‘개요’ 제목@capgo/capacitor-calendar Capacitor 앱은 네이티브 캘린더 기능에 직접 접근할 수 있습니다. 캘린더 권한을 요청하고 이벤트를 생성 및 수정하고 시스템 캘린더 UI를 열고 캘린더 및 이벤트 목록을 표시하고 iOS에서 알림을 관리할 수 있습니다.
데모
‘데모’ 제목| iOS | 안드로이드 |
|---|---|
![]() | ![]() |
핵심 기능
‘핵심 기능’ 제목- iOS 캘린더 및 알림 권한 요청
- iOS 및 Android에서 캘린더 이벤트를 생성, 수정, 삭제 및 목록화합니다.
- iOS 및 Android에서 지원하는 경우 플랫폼이 제공하는 이벤트 생성, 편집, 삭제 및 캘린더 선택 UI를 열 수 있습니다.
- iOS 및 Android에서 캘린더 목록, 기본 캘린더 가져오기 및 캘린더 생성/수정
- iOS 알림 목록 및 알림 항목 관리
지원 플랫폼
플랫폼 지원| 기능 | iOS | Android | 웹 |
|---|---|---|---|
| 권한 확인 및 요청 | 예 | 예 | 아니오 |
| 캘린더 이벤트 CRUD | 예 | 예 | 아니오 |
| 네이티브 이벤트 프롬프트 | 예 | 예 | 아니오 |
| 캘린더 목록 및 기본 캘린더 | 예 | 예 | 아니오 |
| 캘린더 소스 및 선택기 | 예 | 아니오 | 아니오 |
| 캘린더 CRUD | 예 | 예 | 아니오 |
| 알림 목록 및 알림 CRUD | 네 | 아니오 | 아니오 |
Capacitor 웹 구현은 네이티브 전용 API의 스텁입니다.
API
Public API| Area | 영역 |
|---|---|
| 메소드 | checkPermission, checkAllPermissions, requestWriteOnlyCalendarAccess, requestReadOnlyCalendarAccess, requestFullCalendarAccess, requestFullRemindersAccess |
| 권한 | createEvent, createEventWithPrompt, modifyEvent, modifyEventWithPrompt, deleteEvent, deleteEventWithPrompt, listEventsInRange, commit |
| 이벤트 | listCalendars, getDefaultCalendar, openCalendar, selectCalendarsWithPrompt, fetchAllCalendarSources, createCalendar, modifyCalendar, deleteCalendar |
| 캘린더 | openReminders, fetchAllRemindersSources, getDefaultRemindersList, getRemindersLists, createReminder, modifyReminder, deleteReminder, deleteReminderWithPrompt, getReminderById, getRemindersFromLists |
진실의 근원
‘진실의 근원’ 섹션이 참조는 src/definitions.ts 에서 capacitor-calendar.

