capacitor-reminders
Read / Write iOS Reminders
Install
npm install capacitor-reminders
npx cap sync
API
requestPermissions()
requestPermissions() => Promise<void>
checkPermissions()
checkPermissions() => Promise<{ permission: 'notDetermined' | 'restricted' | 'denied' | 'authorized'; }>
Returns: Promise<{ permission: 'notDetermined' | 'restricted' | 'denied' | 'authorized'; }>
readAll()
readAll() => Promise<{ reminders: CapacitorReminder[]; }>
Returns: Promise<{ reminders: CapacitorReminder[]; }>
write(…)
write({ reminder }: { reminder: CapacitorReminder; }) => Promise<void>
Param | Type |
---|---|
__0 |
{ reminder: CapacitorReminder; } |
write(…)
write({ id }: { id: string; }) => Promise<void>
Param | Type |
---|---|
__0 |
{ id: string; } |
Interfaces
CapacitorReminder
Prop | Type |
---|---|
id |
string |
title |
string |
dueDate |
string |
notes |
string |
isComplete |
boolean |
completionDate |
string |