Questions tagged [react-native-share]

40 questions
1
vote
1 answer

Expo with react-native-share

On an expo react native project: I'm trying to share multiple files through my expo app. I can currently share one file with expo-sharing. Has anyone had any success with the react-native-share package on expo? I found this link where it seems some…
Hazem
  • 33
  • 1
  • 4
1
vote
0 answers

How do I check if the user completed the share action using react native share

I am having an issue using react native share. When a user clicks on social sharing, immediately the social app(facebook, instagram or twitter) is opened, I get a promise informing me that the file or data has been shared. However, at this point…
winrydberg
  • 11
  • 3
1
vote
0 answers

React Native Posting Instagram Story with URL link under Username (Example: View in SoundCloud)

I'm working on a react native app using the react-native-share package to share an image to Instagram. I'm able to share the image to Instagram on iOS, but would like to display a url at the top left corner to tell others to view this post in our…
1
vote
0 answers

Share.open return message as undefined on android device always once user share any content on other apps and return on actual app

Steps to reproduce Install app in android device with react-native-share. Share any image or message (Ex. Whatsapp). Observe behavior that will stick it to Whatsapp not come back on your app again. Press back 1/2 time now you again come on your…
1
vote
0 answers

Can I control the apps in the share menu?

I'm using the open method of react-native-share to share an html file on an android device. When I share the file I thought there would be an option to share to the browser. There is no such option. The documentation suggests that I might be able to…
gburnett
  • 755
  • 8
  • 18
1
vote
1 answer

react-native-share method shareSingle opening Play Store in Android 11

When I use the following method it's should open the Whatsapp for share the message, but it open the Google Play in the page of the Whatsapp... Share.shareSingle({ title: 'Title Test', message: 'Message Test', social:…
0
votes
0 answers

Share a downloaded video path from react native app to tiktok

I am downloading video from react native app in android and saving it to cache. Now i want to open tiktok from my react native app and share the downloaded video that is in cache to tiktok. Is there any way to perform this functionality on…
RoshaanAli
  • 136
  • 1
  • 8
0
votes
0 answers

react-native-share showing black screen at first on share reel to instagram

i am using react-native-share "^9.2.3" or "^9.0.2" tried both versions. I download video from react-native in my cache const shareInsta = async () => { const cache = await RNFetchBlob.config({ fileCache: true, appendExt: 'mp4', …
0
votes
1 answer

Is it possible to convert Firebase Storage back to a local file to be shared to instagram?

Building with React native I have used Firebase storage to upload files and return a download url to store in the database and save space but, If I want to allow a user to share images/videos to instagram via expo-share or react-native-share, It…
0
votes
0 answers

In React Native, how can we share screenshot with a predefined message on facebook or instagram?

In react native, im using react-native-share and viewshot package to screenshot. I want to share the screenshot with a message or link but on facebook either i can upload message or add url.I'm able to send image with message on other platform like…
0
votes
0 answers

INSTAGRAM_STORIES is not working in react-native-share for android 13

I used react-native-share version 8.0.1 and try to use instagran_stories it's work fine in android 10 but not in android 13 const result = await Share.shareSingle({ backgroundImage: contentUri, backgroundBottomColor: '#fefefe', backgroundTopColor:…
0
votes
1 answer

Share a screenshot and a text message (or a link), using react-native and expo

I'm trying to have a share button, that would take a screenshot of the current place in the app, and share it to social platforms along with some text or a link. I've tried using expo-sharing, react-native-view-shot, and expo-file-system, and…
0
votes
0 answers

React native share print orientation defaults to landscape on Android

I am using react-native-share package to share data to other apps. When I use "Print" option to share the data, the orientation is defaulted to Landscape which cuts off the data(QR code in my case). Is it possible to default the orientation to…
mrzoro
  • 1
  • 2
0
votes
1 answer

Method to check if instagram is installed in android device

I am working on an expo app and trying to check if instagram if installed in my device or not so I can share content on it. I am using react-native-share and testing the code on dev build but all methods returns false even though instagram app is…
0
votes
0 answers

Instagram feed and stories option not showing in react-native-share

I am using react-native-share package for sharing the link on social media in my react native app. When share.open() method calls , it's open the UI component and show the available app icon. I only see Instagram Chats icon. I want to share link on…