Ios webkit download image blob






















Collectives on Stack Overflow. Learn more. Asked 3 years, 1 month ago. Active 1 year, 6 months ago. Viewed 3k times. FileReader ; reader. Is there a way to do this to get the image data and save it? Improve this question. Joe Joe 1 1 silver badge 12 12 bronze badges.

Have you found any workaround for it? Found solution for this? Add a comment. Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. This has been a giant thorn in our side and frankly makes Apple look bad. Because we have to explain to these doctors that if they're using an iPad they have to do extra work to of saving the final report. The UX flow for this is not ideal, by the way.

Thank you! I'm pretty sure I've found the holy grail in cross-browser PDF download. But everything else should "Just work". Works like a charm for all the major browser except Safari on IOS. Is there any update, timeline by any chance? Anything we can do to help? Have you tried this in iOS Safari.

I tried doing it with a FileReader to no avail. The other issue I'm having is I have no way to give the blob file a proper name. That's not accurate. My IDE vscode reports my test file as binary data but it turns out that both Github and AmazoneS3 servers response with the data as base64 according to Firefox Network tool. The "example. Other than fixing this bug I was somewhat frustrated. I realize things have to be prioritized and some things are harder than they seem. Anyway, I do think this would be a great addition and I would really appreciate someone's efforts to resolve this.

One lacking feature is the ability to save sales information to pdfs while offline. Currently the sales teams of several clients are using IOS devices but may be switching soon to a platform that will support this feature.

Closing bug. I saw that this bug was closed bug it was already deployed? I try the anchor workaround but seems not be working fine, since the file name is always unknown.

Any one knows if this is already in "prod"? For people interested in testing this feature, it is enabled in the iOS 13 Developer beta 1, along with true downloads support in MobileSafari.

Please file issues you find on this bug tracker, thanks. Comment 36 Michaela Merz PDT Though in principal, the download attribute works - there are still a few issues. With home-screen installed "PWAs": After clicking the link with download attribute set, a page pops up that shows the correct file-type, but "unknown" as file name.

After clicking this page "Open in.. In other words: The first page after clicking the download in PWAs doesn't have the name set correctly. Could you file a Feedback Assistant issue for this bug, and paste the FB number here? You can also file a bug on this website. Do you want me to open a new bug here too? Probably easiest to post that here, but feel free to email it to me if you'd like.

From here selecting "Save to Files" defaults the filename to "Unknown" however I can edit the filename prior to saving. Executing same code on Safari on macOS works well, i. Michaela, could you also attach a screen recording to FB of this bug happening? Patch 4. Details Formatted Diff Diff. Patch 6. Show Obsolete 1 View All Add an attachment proposed patch, testcase, etc. Description Iain PDT Created attachment [details] Download methods Overview: In our webapp construct 3 users can download a copy of their project.

When saving projects are serialized into a blob zip format on the client side. This method works correctly in Safari 11 and in chrome. However, now it opens a new tab displaying a WebKitBlobResource error 1 and no further information. I think this may be related to the content blocker. On the first attempt to repeat this a "popup blocked" error will appear in the address bar and allowing it will download and unzip the project into a folder called "unknown" which I consider broken also.

Subsequent attempts will display the WebkitBlobResource error. I have attempted to create a simple replication for this, but even when copying the exact code into a new document and calling in the same fashion the development tools REPL it only repeats in the actual web application. I have included the download methods, but it's fairly standard stuff. Steps to reproduce: 1. Select "new project" 3. Select "ok" uses default name 5.



0コメント

  • 1000 / 1000