Using:
Flutter 3.16.5
add_2_calendar 3.0.1
Testing on iPhone with iOS 17
And compiling with Xcode 15 + sdk iOS 17
The issue is:
the call to addEvent2Cal never returns. It is stuck (= the second line return isNativeCalendarShown; is never executed)
final isNativeCalendarShown = await Add2Calendar.addEvent2Cal(event);
return isNativeCalendarShown;
After spending a few hours, I've finally found the cause of this bug which is only 1 missing line 🤯ðŸ˜. The fix https://github.com/ja2375/add_2_calendar/pull/136 forgot to call completion callback completion?(true) line 105 of file Add2CalendarPlugin.swift
Hello,
Using: Flutter 3.16.5 add_2_calendar 3.0.1 Testing on iPhone with iOS 17 And compiling with Xcode 15 + sdk iOS 17
The issue is: the call to addEvent2Cal never returns. It is stuck (= the second line
return isNativeCalendarShown;
is never executed)After spending a few hours, I've finally found the cause of this bug which is only 1 missing line 🤯ðŸ˜. The fix https://github.com/ja2375/add_2_calendar/pull/136 forgot to call completion callback
completion?(true)
line 105 of file Add2CalendarPlugin.swiftshould be
Thanks