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
267 stars 267 forks source link

Deleting 20+ events at once does not work #545

Open CrayolaEater opened 2 months ago

CrayolaEater commented 2 months ago

I cannot delete multiple events at once. I think the calendar app crashes because there is no error and the events are still present in the calendar.

To Reproduce Steps to reproduce the behavior: for(Event e in events) { var result = await _deviceCalendarPlugin.deleteEvent( _selectedCalendar.id, e.eventID); if (result.isSuccess) { eventID = ""; } }

Expected behavior The events should be removed from the calendar

Device(s) tested This can be very important as not all device vendors do calendar in the same way.