Share App through social media

With the Share API, how can I go about sharing my APP?

The feature is that, user can share my app through Social Media… Facebook, Twitter, Whatsapp…

The Share api accepts an object with title, message, url. In the message, it appears to be text only. When I put “itms://itunes.apple.com/us/app/myapp/id123456789
market://details?id=co.myapp https://www.myapp.com” as the message value, the recipient, Whatsapp for example, will show all that in text. not a link.

How can I how links in the Share api?

thanks.

Hey @henryszeto,

This is not possible with the React Native Share API. You’d have to use a third party library such as react-native-share which would require using the bare workflow so you can make the necessary native code changes.

Cheers,
Adam

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.