question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Share single iOS base64 img problem

See original GitHub issue

Share single method works on android perfectly.

iOS sharing whatsapp, fb, twitter does not show my base64 img

const storedImg = data:image/png;base64,${resp.base64Img}; Share.shareSingle({ title: _('Tone Tone High Score Share'), message: "https://apple.co/2pmdyte", url: storedImg, subject: "https://apple.co/2pmdyte", social }).then(res => res) .catch(e => e);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:22 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
phillmillcommented, Jun 28, 2019

@vivekvijayakrishnan I managed to work around this in 1.2.1- instead of sharing with base64, I used just the actual file uri instead. It worked for me

1reaction
never00misscommented, Dec 21, 2018

did anyone solve this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Share single iOS base64 img problem · Issue #232 - GitHub
My sharing is works perfectly in android platform. But my message and base64 string not transform to image. It's show url + base64...
Read more >
Share a picture in chat, base64 issue - Stack Overflow
1 Answer 1 ... That cryptic text is the image. It's just the base-64 string representation of the image. I assume you're doing...
Read more >
Problem converting image to base64 | Apple Developer Forums
Hello there, I'm trying to convert an image into base64 encode, however when I try to Upload it to server using Alamofire it...
Read more >
react-native-share - npm
Share Remote PDF File with Gmail & WhatsApp (iOS). When sharing a pdf file with base64, there are two current problems. On WhatsApp...
Read more >
Why optimizing images with Base64 is almost always a bad idea
The reason for this is that sharing Base64 images is much harder due to the fact that they are not actually accessible via...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found