DEV Community

Discussion on: Sharing is caring

Collapse
 
iksploetzwich profile image
Robin Plötzwich

What would be the alternative implementation?
Say I press share on a device that doesn't support the webshare api?

Anyways, thanks for article, I think this will be helpful in the future.

Collapse
 
jswhisperer profile image
Greg, The JavaScript Whisperer

One way is native both ios and android have share built in android-developers.googleblog.com/...

The other is to add each icon of a service you wanted to share to (and you have to guess what the user has) and code each with the various api's developers.facebook.com/docs/plugi... and twitter would be different, tedius. it's what we did in the 00's