I’m utilizing react-native-share package deal for sharing the hyperlink on social media in my react native app.
When share.open() methodology calls , it is open the UI element and present the accessible app icon. I solely see Instagram Chats icon. I need to share hyperlink on Instagram feed and tales however there isn’t any possibility.
I do not need to used share.single() methodology for only one app as a result of it is unhealthy UX.
Is there any resolution for this?
Thanks
if (Platform.OS === 'android') {
shareOptions = {
message: 'share',
url: deepUrl,
appId: '12345678', //fb appID
sort: 'photos/*',
social: Share.Social.INSTAGRAM
}
} else {
shareOptions = {
message: '',
url: deepUrl,
social: Share.Social.INSTAGRAM_STORIES,
},
I’ve attempt to add social: Share.Social.INSTAGRAM object in shareOptions however no luck. I’m sharing my code snippet.