Comments (9)
It's indeed an issue with downloadjs. Unfortunately downloadjs doesn't work with Safari. I have plans to fix this soon with FileSaver however (see: http://stackoverflow.com/questions/12802109/download-blobs-locally-using-safari)
from datebook.
I think that question might have been referring to Safari for OS. I tried filesaver and it does not seem to work. Filesaver's own documentation informs that it will not work with iOS. I decided to create the file server side and then serve it. Thanks for the help and good luck!
from datebook.
@tjcflys you're right, there are issues with iOS using FileSaver.js:
saveAs must be run within a user interaction event such as onTouchDown or onClick; setTimeout will prevent saveAs from triggering.
However I don't think this will be a problem with the dlIcal()
function so I used angular-file-saver (a wrapper for FileSaver.js). It works on Safari desktop at least.
If you have a chance, could you please clone this repo and checkout to develop to see if the issue is fixed on iOS/safari? Thanks!
from datebook.
This appears to work in iOS versions I've tested - the latest fix is in v1.2.0
from datebook.
Sorry it took so long to get back to you man. I just tried 1.2.0 on 2 different Apple devices with no luck. Screenshot is attached if that helps.
from datebook.
Hey @tjcflys no worries - sorry to hear that the fix didn't work. I'm going to re-open this issue.
from datebook.
Any news on this? I've been googling like mad to find a solution.
from datebook.
@fierysolid unfortunately no, sorry. According to this it looks like iOS Safari will always render the file name as "Unknown."
I might end up implementing browser detection for Safari and having the menu not show options for icalendar on iOS safari.
from datebook.
Hi @jshor I noticed you closed this a couple months ago, is there still no solution? I'm still experiencing this, and it seems that maybe there's a fix from the link you provided above. thanks!
from datebook.
Related Issues (20)
- [Question] How do I add linebreaks within the description field? HOT 1
- Please document the `ICSAlarm.action` property
- ICS file generator not escaping special characters
- Add support for uid and status properties HOT 1
- Angular 13 + jest v27 incompatibility HOT 3
- Simple html example showing which files in the distribution need to be referenced HOT 2
- .ics file's RRULE doesn't contain UNTIL parameter when setting it up in config object HOT 2
- Recurrence not working in Outlook Online Calendar HOT 2
- Broken links in documentation
- TypeError: Cannot read properties of undefined (reading 'length') HOT 2
- In ios download not working HOT 8
- How to use with unpkg?
- Invalid ICS code
- Export as ES module HOT 1
- Syntax Error when building with Sveltekit HOT 7
- Types are in wrong directory
- Add organizer property to ICalendar
- Lines not delimited by CRLF sequence HOT 1
- adding METHOD before BEGIN
- Outlook office.com compose link HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datebook.