Open SaadBazaz opened 2 years ago
Tested and working correctly on both mobile, desktop and WhatsApp Web.
React 18 Next 12
This should be merged....
I recently support merging this PR, because for some weird unknown reason; web.whatsapp.com was not accessible, but api.whatsapp.com was working. I thought whatsapp had remove the web.
subdomian. so, I was thinking of forking the repo to make the change above.
Suddenly it web.whatsapp.com is now accessible. So, I don't think this PR needs to be merged anymore because the current whatsapp sharing experience is way better than what this PR would offer. Sorry @SaadBazaz. Nice effort though.
Closing as stale. Please reopen if needed.
@nygardk - Why I don't consider this stale:
Here's a video recording of what I'm talking about.
Here's when I use web.whatsapp.com
Here's when I use api.whatsapp.com
https://github.com/nygardk/react-share/assets/51885228/d33e1b3b-98e6-4fc8-a178-eb9199c89ca9
Use just
api.whatsapp.com
instead of choosing betweenapi.whatsapp.com
andweb.whatsapp.com
, because api now handles all scenarios (Web, Mobile and Desktop)