Looks like iOS 12.2 beta introduces support for the Web Share API in Safari and other web views – meaning web devs can now create buttons to invoke the native system share sheet. (via: reddit.com/r/iOSBeta/comm)
I tested this with a shortcut, totally works.
Conversation
Is this API only for iOS, or is it cross platform? If not, then conditional statements must be used to make sure it doesn’t show up on other platforms. It is an amazing feature for developers in any case.
This is really and really cool, I am a fan of JavaScript, I hope other features will be implemented in mobile safari soon, thanks for the post!
This should be the default share sheet!! Show airdrop first, message contacts after.
1
1









