Open RashVenkat6795 opened 1 year ago
I am also facing this issue.
I have experienced this from RN v0.64-0.66.
I can confirm gif speed is working as it should with the RN
You need to patch the SDWebImage dependency to 5.12
@safaiyeh why though? Since it's happening specific to iPhone 13 pro max, it could be because of the refresh rate?
@safaiyeh why though? Since it's happening specific to iPhone 13 pro max, it could be because of the refresh rate?
yup! its exactly that, SDWebImage 5.12 resolves the issue
@DylanVann Sounds like a pretty simple update and very annoying, maybe you could have a look and help us on a quick fix ? :-) Thanks
Fixed in SDWebImage 5.15.3: https://github.com/SDWebImage/SDWebImage/issues/3491 Till this package gets updated I made myself a patch:
/patches/react-native-fast-image+8.6.3.patch:
diff --git a/node_modules/react-native-fast-image/RNFastImage.podspec b/node_modules/react-native-fast-image/RNFastImage.podspec
index db0fada..0c0cce5 100644
--- a/node_modules/react-native-fast-image/RNFastImage.podspec
+++ b/node_modules/react-native-fast-image/RNFastImage.podspec
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m}"
s.dependency 'React-Core'
- s.dependency 'SDWebImage', '~> 5.11.1'
+ s.dependency 'SDWebImage', '~> 5.15.3'
s.dependency 'SDWebImageWebPCoder', '~> 0.8.4'
end
postinstall / patch-package, do yarn install, rm -rf Pods, rm Podfile.lock, pod install, works for me, idk if it breaks anything.
@DylanVann When will this bug be fixed?
Fixed in SDWebImage 5.15.3: SDWebImage/SDWebImage#3491 Till this package gets updated I made myself a patch:
/patches/react-native-fast-image+8.6.3.patch:
diff --git a/node_modules/react-native-fast-image/RNFastImage.podspec b/node_modules/react-native-fast-image/RNFastImage.podspec index db0fada..0c0cce5 100644 --- a/node_modules/react-native-fast-image/RNFastImage.podspec +++ b/node_modules/react-native-fast-image/RNFastImage.podspec @@ -16,6 +16,6 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m}" s.dependency 'React-Core' - s.dependency 'SDWebImage', '~> 5.11.1' + s.dependency 'SDWebImage', '~> 5.15.3' s.dependency 'SDWebImageWebPCoder', '~> 0.8.4' end
postinstall / patch-package, do yarn install, rm -rf Pods, rm Podfile.lock, pod install, works for me, idk if it breaks anything.
This is the exact answer! Thanks!
Describe the bug GIF images which are at normal speed in phones, plays at very fast rate in iPhone 13 pro max
To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo: Play a gif image in iPhone 13 pro max
Expected behavior GIF should play at normal speed
Screenshots
Dependency versions