How to use WebShareAPI preceded by an AJAX call in Safari? How to use WebShareAPI preceded by an AJAX call in Safari? google-chrome google-chrome

How to use WebShareAPI preceded by an AJAX call in Safari?


Exciting news! After filing a bug with the webkit team here, this issue has got some traction and as noted in the bug discussion, this initial implementation was deliberate. Thankfully this has been fixed and the latest Safari Technology Preview release notes includes this exciting paragraph:

"Added support for a user gesture to allow using the Web Share API even when preceded by an XHR call" https://developer.apple.com/safari/technology-preview/release-notes/

Looking forward to it coming to the rest of Safari soon!