Skip to content

Commit 5e915e5

Browse files
fix: remove explicit folly version (#3416)
## Description As a version of folly can change between versions of React-native we need to remove an explicit version of `folly_version` from our libraries to let RN infer the correct version. Change based on AppAndFlow/react-native-safe-area-context@eb111ff ## Changes Removed explicit folly version from RNReanimated.podspec <!-- ## Screenshots / GIFs Here you can add screenshots / GIFs documenting your change. You can add before / after section if you're changing some behavior. ### Before ### After --> ## Test code and steps to reproduce Build FabricExample/ ## Checklist - [ ] Ensured that CI passes
1 parent 4938566 commit 5e915e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

RNReanimated.podspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ end
5454

5555
folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -DRNVERSION=' + rnVersion
5656
folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32'
57-
folly_version = '2021.06.28.00-v2'
5857
boost_compiler_flags = '-Wno-documentation'
5958
fabric_flags = ''
6059
if fabric_enabled
@@ -101,7 +100,7 @@ Pod::Spec.new do |s|
101100
if fabric_enabled
102101
s.dependency "React-RCTFabric"
103102
s.dependency "React-Codegen"
104-
s.dependency "RCT-Folly", folly_version
103+
s.dependency "RCT-Folly"
105104
else
106105
s.dependency "#{folly_prefix}Folly"
107106
end

0 commit comments

Comments
 (0)