CultureHQ / add-to-calendar

A small package for adding an event to a calendar.
https://engineering.culturehq.com/add-to-calendar/
MIT License
44 stars 26 forks source link

iOS 15.4.1 "Safari cannot download this file." #770

Open crsiebler opened 2 years ago

crsiebler commented 2 years ago

Clicking Apple Calendar or Outlook when on an iOS device (v15.4.1) is causing an error to pop up saying "Safari cannot download this file." No event is created in the calendar.

Error

crsiebler commented 2 years ago

Here is our event data

{
  "name": "Global Livestream: Season 3 Filming Kickoff",
  "details": "Join us for our Season Three Filming Kickoff THIS Sunday at 8:00 PM ET. Here's what you'll see: Special drop-ins from cast and crew. Exclusive behind-the-scenes, ON THE SET look at all the prep for Season 3. First look at some really cool, brand new gift items. A visit with a best-selling author (who happens to be Dallas's dad). A new, very special video that shows just how much of an impact. The Chosen can have on one life.\n\nWatch for free here: http://thechosen.tv/livestream/rsvp",
  "location": "",
  "startsAt": "2022-04-25T00:00:00.000Z",
  "endsAt": "2022-04-25T01:00:00.000Z"
}
crsiebler commented 2 years ago

Able to grab the console errors from iOS Safari.

[Error] Failed to load resource: Frame load interrupted (data:text/calendar;charset=utf8,BEG…qmd, line 0)