Skip to content

Feature Request: Add support for recurring events (recurrence rules & occurrences) #3

@rtwangdev-lab

Description

@rtwangdev-lab

Hi @dacay! First of all, thank you for building this amazing package. The clean API design and solid documentation make it a joy to work with. Great job! 👏

Description
The current eventkit-node package doesn't expose recurrence-related properties from EKEvent. This makes it impossible to work with recurring calendar events from macOS Calendar.

What I'd like to see
Event model should include recurrence properties:

  • recurrenceRules: EKRecurrenceRule[] - The recurrence rules for the event
  • recurrenceIdentifier: string - Unique identifier for the recurring event series
  • hasRecurrenceRules: boolean - Whether the event has recurrence rules

Use case
I'm building a calendar app and need to:

  • Display whether an event is recurring
  • Distinguish between the "master" event and individual instances
  • Handle excluded dates (EXDATE)

Technical context (Swift/EventKit)

  • EKEvent.recurrenceRules - Array of EKRecurrenceRule
  • EKEvent.recurrenceIdentifier - Unique ID for the series
  • EKEventStore.events(matching:) - Returns both master events and instances
  • The span parameter in saveEvent and removeEvent already supports .thisEvent and .futureEvents

I understand this is a significant feature request and would require substantial Swift code. I'm happy to help with testing or provide more details if needed. Thank you so much for considering this — I really appreciate all the work you've put into this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions