Bug 231995 - Webshare API Level 2 "Save Image" not resolving the navigator in IOS 15
Summary: Webshare API Level 2 "Save Image" not resolving the navigator in IOS 15
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad Other
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
: 234187 238713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-19 17:17 PDT by John
Modified: 2022-06-28 02:24 PDT (History)
12 users (show)

See Also:


Attachments
The share buttons become blocked after clicking "Save Image" and it does not fail or succeed (284.36 KB, image/png)
2021-10-19 17:17 PDT, John
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2021-10-19 17:17:57 PDT
Created attachment 441821 [details]
The share buttons become blocked after clicking "Save Image" and it does not fail or succeed

The new update to IOS 15 has brought the default usability of the Webshare API Level 2 but I have found bug whilst implementing it. 

I have been attempting to implement the file sharing into my own application specifically with image files. 
When testing on an iPhone using IOS15, when you attempt to share an image from Safari using the Webshare API, if you select the "Save Image" option (saves image to photos application), the navigator closes but does not resolve.

This means that if you attempt to activate the navigator again in any way, it is no longer available in the same context and throws an exception - you have to refresh the page to reset the unresolved navigator. 

This can be replicated on the demo page using Safari IOS 15 by attempting to share an image and clicking the "Save Image" button - you will see the buttons remain disabled:
https://w3c.github.io/web-share/demos/share-files.htm

I hope this was the right place to post this bug. It is awesome to have the Webshare API Level 2 integration progressing forwards, this is just a frustrating bug that is hindering the usability of it in the new IOS 15.
Comment 1 Tim Horton 2021-10-20 10:08:22 PDT
(In reply to John from comment #0)
> Created attachment 441821 [details]
> I hope this was the right place to post this bug. It is awesome to have the
> Webshare API Level 2 integration progressing forwards, this is just a
> frustrating bug that is hindering the usability of it in the new IOS 15.

This is totally the right place! Thank you for the report, this is news to me.
Comment 2 Radar WebKit Bug Importer 2021-10-20 10:09:00 PDT
<rdar://problem/84467461>
Comment 3 Marcos Caceres 2021-10-21 04:55:57 PDT
Correct link: https://w3c.github.io/web-share/demos/share-files.html … also confirmed, the promise doesn’t seem to be resolving or something.
Comment 4 John 2021-10-21 16:23:24 PDT
Sorry, I didn't realise I had accidentally dropped the "l" on the end of the url! Thanks for catching that :)
Comment 5 Tim Horton 2021-12-13 12:37:22 PST
*** Bug 234187 has been marked as a duplicate of this bug. ***
Comment 6 ag_ac 2022-03-14 12:22:06 PDT
We also were able to reproduce this issue on iOS15.3.1

Saving an image from within the share sheet blocks the user from being able to subsequently share the image via another app.

This issue is present on multiple live web apps that we have built, and we have received several bug reports from users, sharing that they are unable to share the image after saving it.
Comment 7 Tim Horton 2022-04-03 14:04:58 PDT
*** Bug 238713 has been marked as a duplicate of this bug. ***
Comment 8 Olle Soprani 2022-06-15 03:54:16 PDT
This bug is still present in iOS 15.5 and is becoming more and more annoying. The development of social sharing is expanding enormously, and this feature is the most reported, by our users.

Are there nobody who wants to address this. Is there any status of this issue?

Best Regards 
Olle