react-native-fast-image icon indicating copy to clipboard operation
react-native-fast-image copied to clipboard

GIFs playing too fast on iOS

Open jbernar3 opened this issue 2 years ago • 9 comments

Describe the bug The GIF plays at a much quicker speed than expected. React Native's Image seems to have fixed this and played the GIF at normal speed. RN-fast-image is able to preload and cache the GIF correctly, it is just played at ~3x speed.

To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo:

  1. Use React Native Fast Image to display a GIF via URL

Dependency versions

  • React Native version: 0.69.6
  • React version: 18.0.0
  • React Native Fast Image version: 8.6.1

Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.

jbernar3 avatar Jan 03 '23 04:01 jbernar3

Issue confirmed, only happening with FastImage. If you ever find a solution @jbernar3 can you share it here? I will as well.

EDIT: apparently it is the same issue as #854 The merge for a fix has been pending for a year.

The pull is here: https://github.com/DylanVann/react-native-fast-image/pull/842

EDIT 2 : managed to have it fixed by patching the node_modules/react-native-fast-image/RNFastImage.podspec file, and updating the SDWebImage version to the latest 5.14.3 => don't forget to run "pod update" in /ios after that to update the dependency

pierroo avatar Jan 04 '23 13:01 pierroo

The same issue on iOS. On some new devices, the animated webp plays too fast. However, it works normally on most devices. Any fixes on that?

arlovip avatar Apr 24 '23 09:04 arlovip

lock SDWebImage version up to 5.15.5 at file node_modules/react-native-fast-image/RNFastImage.podspec

willowramirez avatar May 12 '23 10:05 willowramirez

Any updates? I have the same problem, I locked SDWebImage and it doesn't help

ivaniuk7531 avatar Jul 26 '24 12:07 ivaniuk7531

Still happening

mathbalduino avatar Jul 29 '24 20:07 mathbalduino