How to call a modal iOS link share popup? (pic of example inside)

I’ve built a share button but want it to display a modal share popup on mobile where the user can share the link via email, Facebook, Messages, etc. Here’s an example of what I mean:

I am building a share button both on my regular mobile webpage, and a native app that I am building through BDK. Not sure if something like this is also possible on Android, but if it is then that would be awesome too.

Any advice on how to call this popup would be appreciated!

Just stumbled on a solution over on stackoverflow!

I used the javascript command:

navigator.share({
title: ‘Your title’,
text: ‘Your text’,
url: ‘Your url to share’
})

using the Toolbox plugin. That seems to work so far. I’ll come back with any updates if that changes.

1 Like