Questions tagged [react-native-share]
40 questions
0
votes
0 answers
Does React_Native_Share allow us to share other file type than images and pdf?
I used this website to convert the file into bas64 type eConversion to Base64
I am able to export pdf and images (jpeg/png) but not xslx and csv file types. My app needs user the ability to export/download excel files.
const myCustomShare = async…

lonewolf
- 31
- 6
0
votes
0 answers
react-native-share wouldn't open anything in real ios device but app doesn't freeze
I'm trying to implement sharing a pdf feature using react-native-share. When I click 'share' button, there should be a pop-up with different sharing options but nothing pops up when I connect to my real ios device and test it. The app doesn't freeze…

tlqkf
- 23
- 2
0
votes
0 answers
I want to share post from my react native app to another app like Instagram
How can I do Deeplinking in React native App, for redirect to my post., how can I get that link for redirect to my React Native App and Particular Post which I have Share.
https://www.npmjs.com/package/react-native-share
0
votes
1 answer
Read files function is crashing in RNFetchBlob in react native android
I am trying to share a pdf file in react native. But app is crashing on doing so. Please help. Following is the code
async function func_1(
pdfUrl: string,
) {
let result = Platform.OS === 'android' && (await…

christo-pher18
- 145
- 1
- 14
0
votes
0 answers
react-native-share Image sharing with Resize according to App selected
I have built a functional sharing flow for images in my React-Native app using the package: react-native-share. However, there are some issues whereby an image may not show on the shared posts inside the app selected for sharing due to the size not…

Erbaz Kamran
- 78
- 1
- 7
0
votes
1 answer
React Native - Map array state
I'm trying to map array state to add it into urls in react-native-share
But when I'm trying to share it, it shows Error: uriString
In the docs it should look like this:
urls: [image1, image2]. How can I do it?
Code:
let shareImage = {
…

Odium
- 87
- 8
0
votes
3 answers
React Native Share save image option not working in iOS
I'm trying to save a base64 encoded image in iOS using react-native-share and also Share module from React Native. But both fail when trying the Save Image option.
React Native Share
try {
const sharedResponse = await Share.open({ url: dataUri…

tharwi
- 67
- 11
0
votes
1 answer
React Native Share not working after the android sdk upgrade to >=30
Not able to share after android sdk upgrade.React Native Share not working on android devices intermittently. Using version "react-native": "~0.63.0"

Lakshaya Maheshwari
- 492
- 7
- 15
0
votes
1 answer
is there any way to close react-native-share programmatically?
I want to close share.open() when the user is inactive for a certain time. Something like the opposite of share.open().

Rohit S K
- 1,178
- 3
- 13
0
votes
1 answer
sharing image, link and title using react-native-share not working
I am using react-native-share to share content accross different social platform. For plain text it is working fine. But when I include image + message(contains link) + title, then it is not working.
Here is the code which I am using to do so:
let…

Rahul
- 5,594
- 7
- 38
- 92