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.

Unable to share an Gif (base64) on IOS

See original GitHub issue

Steps to reproduce

  1. Download a gif from URL as a base 64.
  2. Share using shareSingle(...) (Tried for Facebook, Instagram & Mail)
  3. It loses all it’s animation when shared.

Expected behaviour

It should be able to share the animated gif on the above-mentioned platforms.

Actual behaviour

It shares a static image on Facebook (only in IOS) and Instagram (Android and IOS). When shared on email (Only In IOS) it shares the actual base 64 string in the mail. Double checked if base64 code correct, yes it is. The screenshot for mail is attached.

85055127-bb24b580-b1ba-11ea-9453-e7d1fbf75241

Environment

  • 61.5
  • ios 13

react-native-share

3.5.0

Link to repo (highly encouraged)

https://github.com/

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Maveniccommented, Jul 2, 2020

@MateusAndrade Yes, I tried with the local file instead of base64 and it’s the same result. On Android, it works as expected except for Instagram, on IOS it doesn’t, neither for Facebook nor Instagram. I’m trying some workaround, let’s see if that works.

0reactions
stale[bot]commented, Sep 7, 2020

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to share an Gif (base64) on IOS · Issue #809 - GitHub
It shares a static image on Facebook (only in IOS) and Instagram (Android and IOS). When shared on email (Only In IOS) it...
Read more >
how to create GIF from base64 string in swift - Stack Overflow
I am getting base64 string with extension and I ...
Read more >
Working with Large Video and Image Files on iOS with Swift
First we need to convert our image to a UIImage . · However you get a UIImage the next task is to convert...
Read more >
Probably Don't Base64 SVG | CSS-Tricks
Perhaps you've heard of data URIs. It's a really nice way of including a resource that would have otherwise been a separate HTTP...
Read more >
Navigator.share() - Web APIs - MDN Web Docs
The navigator.share() method of the Web Share API invokes the native sharing ... .avif - image/avif .bmp - image/bmp .gif - image/gif .ico...
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