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

[iOS] Missing UUID in deleteEvent #455

Open GoldenSoju opened 1 year ago

GoldenSoju commented 1 year ago

I got a firebase crashlytics report about a crash, so far for only one user using iOS 15.1.1. Happens in deleteEvent, reason is a missing UUID (on latest develop branch).

I cannot reproduce the error on my device (iOS 16.1), neither with the example app nor in my production app.

Maybe someone could check with a physical device running iOS version < 16 ?

I tried to reproduce the error by creating an event with attendees and later deleting the event. Works fine so far for me though.

Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x00000001025fddf8
0
device_calendar
SwiftDeviceCalendarPlugin.swift - Line 870
specialized closure #1 in SwiftDeviceCalendarPlugin.deleteEvent(_:_:) + 870
1
device_calendar
<compiler-generated> - Line 2732
specialized SwiftDeviceCalendarPlugin.handle(_:result:) + 2732
2
device_calendar
<compiler-generated> - Line 84
@objc SwiftDeviceCalendarPlugin.handle(_:result:) + 84
3
Flutter
(Missing UUID 4aea**********)
4
Flutter
(Missing UUID 4aea**********)
5
libdispatch.dylib
_dispatch_call_block_and_release + 32
[...]