Implemented Consider adding support for Web Share API

Chromaniac

Well-known member
Google Chrome Beta just gained this feature. And it should be available in stable build by the time xF2 is out. I could not find much documentation though. Mozilla seems to have a similar functionality which again I am not sure if interoperable.

https://blog.chromium.org/2017/08/chrome-61-beta-javascript-modules.html
https://developers.google.com/web/updates/2016/10/navigator-share
https://github.com/WICG/web-share/blob/master/docs/explainer.md
https://github.com/mgiuca/web-share/blob/master/demos/share.html
https://bugs.chromium.org/p/chromium/issues/detail?id=620973

Just putting this out here. Probably too early to take this seriously.
 
Upvote 5
This suggestion has been implemented. Votes are no longer accepted.
YaY! This looks promising. I've been waiting for this for a long time!
But it's only working in Chrome for Android from what I can read. Hopefully they can make in work on Chrome for iOS too.
 
Twitter web app recently added a share option that activates the native sharing menu in Android. I am not sure if they are using this particular feature in Chrome!

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Earlier I had to copy the link for manual sharing in external app. Now it works just like Twitter's native Android app!
 
Implemented in XF 2.2 Beta 2:



Baby Success GIF
 
Back
Top Bottom