Skip to content

Commit

Permalink
fix: remove explicit folly version (#3416)
Browse files Browse the repository at this point in the history
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

Removed explicit folly version from RNReanimated.podspec

<!--

Here you can add screenshots / GIFs documenting your change.

You can add before / after section if you're changing some behavior.

-->

Build FabricExample/

- [ ] Ensured that CI passes
  • Loading branch information
kacperkapusciak authored and piaskowyk committed Jul 28, 2022
1 parent da58fcc commit 1521791
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RNReanimated.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ end

folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DRNVERSION=' + rnVersion
folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32'
folly_version = '2021.04.26.00'
boost_compiler_flags = '-Wno-documentation'

Pod::Spec.new do |s|
Expand Down Expand Up @@ -86,6 +85,10 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.dependency "React-Core"
s.dependency "#{folly_prefix}Folly"
s.dependency "RCTRequired"
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
s.dependency 'FBLazyVector'
s.dependency 'FBReactNativeSpec'
s.dependency 'RCTRequired'
Expand Down

0 comments on commit 1521791

Please sign in to comment.