Hi,
This feature is not supported in Android webview
Here is a screenshot from official documentation of this feature:
For ios we have tried it in the react-native webview and it didn’t worked
As a workaround we are preparing an update with the ability to send a message to react-native to trigger this feature from the native part (more details will be in the update post)
If you are using react-native, we can help you implement this feature from the native part.
Thanks for the info. We actually haven’t tried to add the native wrapper to our app yet. We were planning to use PhoneGap or GoNative. I was asking because before I purchased the plugin and got it working in my app, I wanted to know if it’d serve our needs.
It looks like it won’t work for what we need, and that’s ok. Thanks anyways.
I’m also getting the same error. It seems to work, i send a link to someone, when they click the link and go back to the same screen and click share again i get this error
Fixed a bug when the action is triggered without setting an url and this would share an empty string.
New action for react-native webveiw
React-native: trigger Share Menu action
This will post a message to react-native native code in a stringified json that contains title, text and url.
On the native part this should be parsed and used to trigger native share from there. If you need help to set up this feature, contact us.
Hey @coletfroberts , unfortunately it’s under relations between Apple and google, so it’s hard to handle this, we trying to find solution but for this moment we don’t have ideas how to to add this functionality
Maybe somebody have ideas how to handle this ? Will be great to receive some ideas