Open source Capacitor plugin
Native calendar events for Capacitor apps.
Capacitor Calendar connects your app to the native calendar of the device. One open source plugin, one import, and the calendar the user already knows.
npm i @ebarooni/capacitor-calendarQuick start
Three steps to your first event.
Install the package here. The permissions and the code live in the plugin documentation, so they always match the current release.
Install the plugin
Add the package and sync the native projects. On an older Capacitor version, install the matching npm tag from the compatibility table.
Terminal npm install @ebarooni/capacitor-calendar npx cap syncDeclare the permissions
The plugin uses the native calendar of the device. Add the usage descriptions on iOS and the calendar permissions on Android.
Call the API
Import
CapacitorCalendar, request access and create your first event.
Documentation
Everything you need, at the source.
Features, platform support, versions and the API change with the plugin. They live in one place, next to the code, and are always up to date there.
- Docs site Documentation
Guides, examples and the full API reference. - README Features and platforms
What the plugin does on iOS, Android and the web. - README Capacitor compatibility
Which npm tag to install for your Capacitor version. - README Setup and permissions
The Info.plist keys and Android permissions to add. - README Usage examples
Copy-ready code for the common calendar tasks. - README API reference
Every method with its options, results and platforms. - GitHub Changelog
What changed in each release. - GitHub Breaking changes
Migration steps between major versions. - GitHub Questions and bugs
Open an issue or read the existing answers.
FAQ
Questions developers ask first.
Short answers, and where to find the details. The plugin documentation is always the current source.
What is Capacitor Calendar?
An open source Capacitor plugin that connects your app to the native calendar of the device. It is published on npm as @ebarooni/capacitor-calendar .
How do I install it?
Run npm install @ebarooni/capacitor-calendar , then npx cap sync . The README tells you which npm tag matches your Capacitor version.
Which platforms and features are supported?
The “Features and platforms” table in the README is always current. It lists each capability for iOS, Android and the web.
Which permissions does my app need?
The “Setup” section of the README lists the Info.plist keys for iOS and the permissions for Android. Add only the ones your app uses.
Where is the API reference?
On the documentation site and in the “API” section of the README. Both are generated from the TypeScript definitions of the plugin.
Does it work with Ionic, Angular, React or Vue?
Yes. It is a Capacitor plugin, so it works in any Capacitor app, whatever framework renders the UI.
Where can I ask a question or report a bug?
Open an issue in the GitHub repository. The changelog and the breaking changes file show what changed in each release.
Add the native calendar to your app today.
Free and open source. Install it, sync the native projects, and follow the documentation to your first event.
npm i @ebarooni/capacitor-calendar