I am running a newsletter about some events for which I want to include a "Add to calendar" link.
To do so, I am hosting some ICS files on Linode's Object Storage (which is S3-compatible). Here is an exemple of a URL for a calendar event: https://app-statium.eu-central-1.linodeobjects.com/25782331-363c-4ba6-b255-b10f87a30895.ics
.
My problem is that when this link is being tapped on from an iOS or iPadOS device, Calendar will offer to subscribe to the URL rather than just adding the event from the file in the calendar. Here is a screenshot:
On the other hand, on macOS, the behavior is as expected: Calendar opens and shows the event. No subscription to the URL is suggested.
Is there any ways I could get iOS to behave the same as macOS with these links? I investigated if some query params or HTTP header could say "no subscription please" but didn't find anything.