I’ve an endpoint that generates a .ics file. From my cell app, I open the browser (Safari) and retrieve the .ics file. In Safari, the occasions are displayed as anticipated, and I can use the “Add All” button so as to add them to the calendar. After clicking “Add All,” I can choose the specified calendar, and the occasions are efficiently added (see screenshots 1 and a couple of under).
Right here’s the preliminary .ics file response:
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:NAME
BEGIN:VEVENT
DTSTAMP:20250101T195917Z
DTSTART:20250102T131600
DTEND:20250102T142500
SUMMARY:My Occasion 1
UID:unique-uid1
LAST-MODIFIED:20250101T155715Z
DESCRIPTION:Description
SEQUENCE:1
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20250101T195917Z
DTSTART:20250103T131600
DTEND:20250103T135600
SUMMARY:My Occasion 2
UID:unique-uid2
LAST-MODIFIED:20250101T155715Z
DESCRIPTION:Description
SEQUENCE:1
END:VEVENT
END:VCALENDAR
Screenshot: after including it to the calendar
Later, I up to date the .ics file with new occasion particulars:
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:NAME
BEGIN:VEVENT
DTSTAMP:20250102T195917Z
DTSTART:20250104T131600
DTEND:20250104T142500
SUMMARY:My Occasion 1 Replace
UID:unique-uid1
LAST-MODIFIED:20250104T155715Z
DESCRIPTION:Description
SEQUENCE:2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20250102T195917Z
DTSTART:20250105T131600
DTEND:20250105T142500
SUMMARY:My Occasion 2 Replace
UID:unique-uid2
LAST-MODIFIED:20250102T155715Z
DESCRIPTION:Description
SEQUENCE:2
END:VEVENT
END:VCALENDAR
I up to date all the things in line with the iCalendar documentation:
- UID remained unchanged
- SEQUENCE has been up to date
- DTSTAMP has been up to date
- LAST-MODIFIED has been up to date
Screenshot: second obtain with the up to date information
Nevertheless it looks as if that Safari cannot deal with updates on occasions. Within the preview we will see the modifications, however once I click on on “Add All” button, nothing occurs. The identical habits is working with different calendars like Outlook (internet view) or Google Calendar.
If I add a totally new occasion to the .ics file, that’s working high quality, the difficulty is with updating an current one.
Why am I doing it like this and never simply downloading the .ics file and opening it on the iPhone?
As a result of it is not potential: https://discussions.apple.com/thread/253646020
My Questions:
Is there a property lacking from my .ics file that’s crucial for iOS Safari to deal with updates?
Is Safari not designed to deal with occasion updates on this method?
Ought to I think about shifting to a subscription-based resolution to handle updates extra reliably?
Any insights or ideas could be significantly appreciated!