DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.09k stars 1.47k forks source link

Update to SDWebImage to 5.18.7 or higher for privacy manifest before Apple's May 1 deadline #1031

Open owjsub opened 3 months ago

owjsub commented 3 months ago

Please update SDWebImage to 5.18.7 or higher to provide privacy manifest before Apple's May 1 deadline per https://developer.apple.com/news/?id=3d8a9yyh and https://developer.apple.com/support/third-party-SDK-requirements/

Naturalclar commented 3 months ago

Since this repo seems to be inactive for a while, I've made a temporal fork for a work around

https://www.npmjs.com/package/@naturalclar/react-native-fast-image

diff: https://github.com/DylanVann/react-native-fast-image/commit/4736c1447e36465427bab596b9d017940c18730f

can be installed pnpm i @naturalclar/react-native-fast-image

devinbrown7 commented 3 months ago

@Naturalclar Thank you for this!

I just wanted to suggest that you change the repo link on the NPM page to point to your fork so the source code of your NPM package can be evaluated. I found it myself, but it'd be better if it was linked on the NPM package page.

vasylnahuliak commented 3 months ago

I would prefer to use the patch-package

adamivancza commented 2 months ago

here is a patch file that you can use:

diff --git a/node_modules/react-native-fast-image/RNFastImage.podspec b/node_modules/react-native-fast-image/RNFastImage.podspec
index db0fada..9cfa79e 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.18.7'
   s.dependency 'SDWebImageWebPCoder', '~> 0.8.4'
 end

react-native-fast-image+8.6.3.patch