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

Fix retrieving events for more than 4 years range #486

Closed VladyslavBilomeria closed 1 year ago

VladyslavBilomeria commented 1 year ago

Fix for https://github.com/builttoroam/device_calendar/issues/452

The current implementation of receiving events on iOS does not take into account that EKEventStore returns events for a maximum of 4 years (doc). Accordingly, when specifying a range of more than 4 years, not all events are received.

VladyslavBilomeria commented 1 year ago

@thomassth Could you please take a look at this when you have time?

IVLIVS-III commented 1 year ago

Thank you for contributing your proposed fix of #452 @VladyslavBilomeria.

I sadly cannot specify an ETA of when this fix will be published on pub.dev, since development of this plugin is really slow at the moment.