You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
await Share.shareSingle({
url: URL //link to my valid URL,
title: 'My App Name',
social: target,
});
When the target is Facebook it works though it doesn't open the app, it opens Facebook in Safari.
When target is Twitter, nothing happens. Objective-C side shows success though nothing comes up. Twitter app isn't installed though I'd expect Twitter to open in Safari (just like Facebook does) which doesn't happen.
When target is Instagram, Instagram app opens up but brings up a share sheet with the latest photo in my camera roll.
When target is Facebook Messenger, (I don't have it installed) it brings up app store page for Facebook Messenger to install.
When target is Telegram, (I don't have it installed) it brings up app store page for Telegram to install.
When target is WhatsApp, (I don't have it installed) nothing happens. If it opens App Store page if Facebook Messenger and Telegram if they are not installed, I'd expect the same behavior with WhatsApp too.
Expected behavior
Target social platform's app, or if not installed, web version if available, should open with my URL prepopulated.
Actual behavior
Share.shareSingle works only with Facebook, and even in that case it opens up Facebook web in Safari instead of the Facebook app, which is installed on my device.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open
Steps to reproduce
Have the following code:
Expected behavior
Target social platform's app, or if not installed, web version if available, should open with my URL prepopulated.
Actual behavior
Share.shareSingle works only with Facebook, and even in that case it opens up Facebook web in Safari instead of the Facebook app, which is installed on my device.
Environment
react-native-share
Version: 9.4.1
The text was updated successfully, but these errors were encountered: