Hello,
@mikul said in Sharing Calendars Between Android and Mac/iOS failing.:
Before using DavDroid the file structure looked like
calendars
–Husband
----Husband.ics
–Wife
----Wife.ics
I don’t understand that. An .ics file can only contain one event in CalDAV, so you’re storing only one event?
After using DavDroid and adding events to both calendars, we have something like this;
calendars
–Husband
----Husband.ics
----14a04628-2830-4974-9d43-cca948c115f7.ics
–Wife
----Wife.ics
----48fc5c12-fac5-4cb9-a93b-09e4fc5ff554.ics
Seems correct. As said above, in CalDAV, a member resource (“file”) can contain only one event.
DavDroid is configured with the following URL, and shows both the husband and wife calendars as available.
https://hostname:5006/calendars
Interestingly, when looking at the logs, it never shows Husband.ics or Wife.ics although it does show the garbage filenames.
Those file names are not “garbage”, but (U)UIDs with an .ics suffix. They’re not intended to be understood by humans.
Is this a permission issue with the ics files or something to do with the pub/sub setup in Calendar? How do you suggest we configure the calendars to share between all devices?
For me, this seems to be a misunderstanding of how CalDAV works. You cannot just put an .ics file with multiple events into the directory and expect it to work.
Sharing is a server task, so please see your server manual for details. However, you don’t need “real” sharing if you just use the same calendar resource (maybe even with same user name/password) on multiple devices. 