Add note to remove images fix after RN update

This commit is contained in:
MariaZ
2022-02-05 21:11:05 +01:00
committed by BloodyMarie
parent 2bbcadcf53
commit c5aaf1b29b
+2 -1
View File
@@ -41,7 +41,8 @@ target 'drip' do
use_native_modules! use_native_modules!
use_frameworks! use_frameworks!
# This is fix to make ios build see images, should be removed after upgrade to rn 0.63.2
# https://stackoverflow.com/questions/63949851/react-native-ios-not-showing-images-pods-issue
post_install do |installer| post_install do |installer|
find_and_replace("../node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m", find_and_replace("../node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m",
"_currentFrame.CGImage;","_currentFrame.CGImage ;} else { [super displayLayer:layer];") "_currentFrame.CGImage;","_currentFrame.CGImage ;} else { [super displayLayer:layer];")