@ebarooni/capacitor-calendar
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -439,8 +439,34 @@ { | ||
"name": "example", | ||
"text": "void CapacitorCalendar.openCalendar({ date: Date.now() })" | ||
"text": "void CapacitorCalendar.openCalendar({ date: Date.now() });" | ||
} | ||
], | ||
"docs": "Opens the calendar app. Since the user leaves your app, use this method with caution.", | ||
"docs": "Opens the calendar app. Since the user leaves your app, use this method with caution.\nIt will open the calendar on today's date if no date is provided.", | ||
"complexTypes": [], | ||
"slug": "opencalendar" | ||
}, | ||
{ | ||
"name": "openReminders", | ||
"signature": "() => Promise<void>", | ||
"parameters": [], | ||
"returns": "Promise<void>", | ||
"tags": [ | ||
{ | ||
"name": "method", | ||
"text": "openReminders" | ||
}, | ||
{ | ||
"name": "platform", | ||
"text": "iOS" | ||
}, | ||
{ | ||
"name": "returns" | ||
}, | ||
{ | ||
"name": "example", | ||
"text": "void CapacitorCalendar.openReminders();" | ||
} | ||
], | ||
"docs": "Opens the reminders app. Since the user leaves your app, use this method with caution.", | ||
"complexTypes": [], | ||
"slug": "openreminders" | ||
} | ||
@@ -447,0 +473,0 @@ ], |
@@ -260,2 +260,3 @@ import { CalendarChooserDisplayStyle } from './schemas/enums/calendar-chooser-display-style'; | ||
* Opens the calendar app. Since the user leaves your app, use this method with caution. | ||
* It will open the calendar on today's date if no date is provided. | ||
* | ||
@@ -268,3 +269,3 @@ * @method openCalendar | ||
* @example | ||
* void CapacitorCalendar.openCalendar({ date: Date.now() }) | ||
* void CapacitorCalendar.openCalendar({ date: Date.now() }); | ||
*/ | ||
@@ -274,2 +275,12 @@ openCalendar(options: { | ||
}): Promise<void>; | ||
/** | ||
* Opens the reminders app. Since the user leaves your app, use this method with caution. | ||
* | ||
* @method openReminders | ||
* @platform iOS | ||
* @returns {Promise<void>} | ||
* @example | ||
* void CapacitorCalendar.openReminders(); | ||
*/ | ||
openReminders(): Promise<void>; | ||
} |
@@ -67,2 +67,3 @@ import { PermissionState, WebPlugin } from '@capacitor/core'; | ||
}): Promise<void>; | ||
openReminders(): Promise<void>; | ||
} |
@@ -43,3 +43,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ | ||
} | ||
openReminders() { | ||
throw this.unimplemented(`${this.createReminder.name} is not implemented on the web`); | ||
} | ||
} | ||
//# sourceMappingURL=web.js.map |
@@ -172,2 +172,5 @@ 'use strict'; | ||
} | ||
openReminders() { | ||
throw this.unimplemented(`${this.createReminder.name} is not implemented on the web`); | ||
} | ||
} | ||
@@ -174,0 +177,0 @@ |
@@ -171,2 +171,5 @@ var capacitorCapacitorCalendar = (function (exports, core) { | ||
} | ||
openReminders() { | ||
throw this.unimplemented(`${this.createReminder.name} is not implemented on the web`); | ||
} | ||
} | ||
@@ -173,0 +176,0 @@ |
{ | ||
"name": "@ebarooni/capacitor-calendar", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "The Capacitor Calendar Plugin enables full calendar functionality on iOS and Android, with added reminder support for iOS devices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -83,2 +83,3 @@ <p align="center"> | ||
* [`openCalendar(...)`](#opencalendar) | ||
* [`openReminders()`](#openreminders) | ||
* [Interfaces](#interfaces) | ||
@@ -280,2 +281,3 @@ * [Type Aliases](#type-aliases) | ||
Opens the calendar app. Since the user leaves your app, use this method with caution. | ||
It will open the calendar on today's date if no date is provided. | ||
@@ -289,2 +291,13 @@ | Param | Type | Description | | ||
### openReminders() | ||
```typescript | ||
openReminders() => Promise<void> | ||
``` | ||
Opens the reminders app. Since the user leaves your app, use this method with caution. | ||
-------------------- | ||
### Interfaces | ||
@@ -291,0 +304,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188614
1800
375