-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello guys!
I ran into a problem.
createCalendar ignores localAccountName and tries to find local or iClod source. Since iCloud is activated on the device, the local source is absent. But the package fails trying to find iCloud source.
let iCloudSources = eventStore.sources.filter { $0.sourceType == .calDAV && $0.sourceIdentifier == "iCloud" }My iCloud source has sourceType calDAV but "iCloud" is its title but not the sourceIdentifier. So, getSource returns the default source which is google, where I unable create calendars.
I would be able to find an account among existing calendars using retrieveCalendars and pass it as localAccountName in createCalendar unless the localAccountName be ignored, but it is. An even more, the ETAccount doesn't have a title from EKSource, so I can't define the iCloud account in the dart code as well :(
Please, help to solve the problem.
eventide: ^1.0.2
iOS 18.7.2