-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to share on Facebook and Twitter with react-native-social-share in iOS #65
Comments
i used same code as you described. |
Have you tried manually install on iOS? |
@MobileDev418 are you still seeing this issue?
Let me know if you're still having trouble. |
@TarunKasera2401 you're most likely seeing this issue because your project's main |
I'm also getting this - though things are failing silently with no output (error or result), and I'm fairly sure I've linked things correctly. When I try without the apps installed I get "not_available" but with them installed, just silent. |
I was seeing silent failure on Twitter+iOS with Twitter app installed as well. In my case, it was because I had a modal on-screen when I called iOS doesn't seem to like presenting two viewcontrollers at once or something along those lines, but the reader's (your) specific case could be some other controller (like RN iOS ActionSheet, maybe). I changed my app to dismiss the first visible controller (in my case, the user pressed a "Tweet" button to share something on Twitter from within a modal) then used |
I'm using react-native-navigation (don't know if that's important) and this is what I did to show it on top of current modal. KDSocialShare.m line 58 was I changed it to |
Hey @doefler ,
All things are working fine in Android and in iOS not working. very strange.
I am unable to get success on facebook and twitter sharing. I have follow all instructions which you mentioned at : https://github.com/doefler/react-native-social-share. when I click on twitter and facebook function like
shareOnTwitter({
'text':'Global democratized marketplace for art',
'link':'https://artboost.com/',
'imagelink':'https://artboost.com/apple-touch-icon-144x144.png',
//or use image
'image': 'artboost-icon',
},
(results) => {
console.log(results);
}
);
},
then getting below error-
2018-05-24 12:27:35.804288+0530 AppOfChanges[332:27691] -canOpenURL: failed for URL: "twitter://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2018-05-24 12:27:35.806 [info][tid:com.facebook.react.JavaScript] not_available
2018-05-24 12:27:35.805769+0530 AppOfChanges[332:30147] not_available
and same thing getting in facebook function.
Configration details:
"react-native": "0.55.4",
Working on - iOS 10.3.3
I have tried a lot but nothing getting any success , could you please help me on this.
The text was updated successfully, but these errors were encountered: