builttoroam / device_calendar

A cross platform plugin for modifying calendars on the user's device
https://pub.dev/packages/device_calendar
BSD 3-Clause "New" or "Revised" License
259 stars 258 forks source link

Recurring events on iOS are returned as individual events and not one with a recurring rule #530

Open brandonguigo opened 3 months ago

brandonguigo commented 3 months ago

Describe the bug I'm trying to display device calendars inside an app. I have a list of events, one of which has a weekly recurring rule.

Inside the returned list of event, I have my other events as expected. For the recurring event, each individual occurrence of the event is returned and the recurrence rule for each recurring events returned is missing the dayOfWeek parameter (list is always empty).

I have tried on 5.0 pre-release and it's the same I think

To Reproduce

  1. Create a flutter project
  2. Add a weekly recurring event to your calendar
  3. Get the list of events

Expected behavior I expect the recurring event to be returned only once with a valid recurring rule

Device(s) tested

Flutter doctor Android is not configured properly cause new machine and don't plan to run on Android for now

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.4 23E214 darwin-arm64, locale fr-FR)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.4)
[✓] Connected device (4 available)
[✓] Network resources