I recently had several crashes on my app (iOS users) and found out that the adding attendee functionality was broken.
Error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil'
I was able to locate the error in the SwiftDeviceCalendarPlugin.swift file (line 692):
ekEvent!.setValue(attendees, forKey: "attendees")
And adding the line below to the createParticipant in the same file solved the problem.
Thanks to this solution.
I recently had several crashes on my app (iOS users) and found out that the adding attendee functionality was broken.
Error:
I was able to locate the error in the SwiftDeviceCalendarPlugin.swift file (line 692):
And adding the line below to the createParticipant in the same file solved the problem. Thanks to this solution.
Besides that I