diff --git a/.changeset/purple-wolves-smell.md b/.changeset/purple-wolves-smell.md new file mode 100644 index 00000000..a052acab --- /dev/null +++ b/.changeset/purple-wolves-smell.md @@ -0,0 +1,5 @@ +--- +"react-share": patch +--- + +Fixed WhatsApp sharring issue on Android described [here](https://github.com/nygardk/react-share/issues/484). diff --git a/src/TwitterShareButton.ts b/src/TwitterShareButton.ts index a004765c..c8374e42 100644 --- a/src/TwitterShareButton.ts +++ b/src/TwitterShareButton.ts @@ -16,7 +16,7 @@ function twitterLink( assert(Array.isArray(related), 'twitter.related is not an array'); return ( - 'https://twitter.com/share' + + 'https://twitter.com/intent/tweet' + objectToGetParams({ url, text: title,