-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web Share API fails to share a fully loaded data object/partial data object with file #279
Comments
hhhmm... how the share is handled when it's "mixed" is really just left to the underlying platform. It's unfortunate that the mix is not throwing and returning false with canShare(). |
Does anyone have an update on this issue? I'm currently integrating this functionality on my project and I'm having the same problem when sharing an object with an URL and Files together. |
I’m still not sure this is a spec issue. It sounds like underlying platform or native share target issues. Which application is handling the share? Cc @tomayac |
It might be a limitation with the targets as you've said. I've tested with both web-share on a React web app and react-native-share, and for Android I got the same results. It was the same thing for iOS, although I found that on iOS I had more issues when sharing both an image/text or url. I will post the result of the tests I've done. Maybe someone had a different experience or has some recommendations? Android Web:iOS Web:(Although the next screenshots are not related to this library, I think they might be useful to compare with the web api's) Android Native:iOS Native: |
Thanks for the additional information @leitejppb (and sorry for the delay in replying). |
Hello!
I've noticed a recent bug with the Web Share API which began to occur about a month ago (June 2023). Previously, I was able to share a fully loaded data object (title, text, url, file) together, but now when I try to do the same, only the url and file shows up when sharing. Additionally, this fails for any combination that includes a file, even when its not fully loaded (i.e. title and file, text and file, etc.) where only the file shows up.
It seems this issue affects both Android and iOS, even with the latest versions/updates installed. You can replicate it with the w3c Web Share Test demo here: https://w3c.github.io/web-share/demos/share-files.html.
The text was updated successfully, but these errors were encountered: