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 Animated Image (GIF) on iOS

See original GitHub issue

Steps to reproduce

  1. Save a GIF locally on the device
  2. Use Share.open() on iOS

Expected behaviour

Sharing successfully the GIF on Social Medias. Watching a preview of it inside messaging chats.

Actual behaviour

On Android works very well using only the base64.

On iOS: If I share the base64 nothing will be shared. Instead, following the Troubleshooting on the Readme I used the file path directly:

  • On Telegram the image is shared in a weird way, like a file.
  • On Whatsapp is shared only the text.

let shareOptions = { title: 'Share via', type: 'image/gif', message: 'this is an animated GIF', url: response.path };

Result sharing the GIF on Telegram:

image

Result sharing the GIF on Whatsapp:

image

react-native-share

Version: 1.1.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:13

github_iconTop GitHub Comments

4reactions
AlicanAkyolcommented, Oct 24, 2019

If you want to share image or gif file, you can remove message. It runs.

3reactions
univers3commented, Feb 4, 2019

I’m having the same problem! It’s very frustrating because this issue turns the module totally useless for iOS and GIFs 😢

Read more comments on GitHub >

github_iconTop Results From Across the Web

9 Solutions to Fix GIFs Not Working on iPhone Issue - TunesKit
Solution 4. Re-add #images. Animated GIFs may not load to your phone for various reasons. Probably, the #images didn't add correctly.
Read more >
Unable to share an Animated Image (GIF) on iOS #438 - GitHub
Sharing successfully the GIF on Social Medias. Watching a preview of it inside messaging chats. Actual behaviour. On Android works very well ...
Read more >
Send and save GIFs on your iPhone, iPad, or iPod touch
Tap the GIF to add it to your message. Tap send icon to send. GIFs from #images animate only in the Messages app...
Read more >
iPhone GIFs Not Working? Here's What You Can Do To Fix ...
If you notice that GIFs aren't working on your iPhone, one of the easiest ways to fix this is by removing and re-adding...
Read more >
Best Ways to Fix GIFs Not Working on iPhone - TechWiser
Fix iMessage GIFs Not Working on iPhone · 1. Remove and Re-add #images · 2. Check Internet Connectivity · 3. Force Quit and...
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