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-calendar
  • Latest npm version
  • npm downloads per month
  • GitHub stars
  • License

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.

  1. 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 sync

  2. Declare the permissions

    The plugin uses the native calendar of the device. Add the usage descriptions on iOS and the calendar permissions on Android.

    README · Setup Info.plist keys and Android permissions
  3. Call the API

    Import CapacitorCalendar, request access and create your first event.

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.

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

Built and maintained by Ehsan Barooni. Need a custom Capacitor plugin or help with a hybrid app? Get in touch.