Skip to content

Commit

Permalink
fix: remove explicit folly version (#3416)
Browse files Browse the repository at this point in the history
## 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 th3rdwave/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
  • Loading branch information
kacperkapusciak authored Jul 28, 2022
1 parent 4938566 commit 5e915e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RNReanimated.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ end

folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -DRNVERSION=' + rnVersion
folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32'
folly_version = '2021.06.28.00-v2'
boost_compiler_flags = '-Wno-documentation'
fabric_flags = ''
if fabric_enabled
Expand Down Expand Up @@ -101,7 +100,7 @@ Pod::Spec.new do |s|
if fabric_enabled
s.dependency "React-RCTFabric"
s.dependency "React-Codegen"
s.dependency "RCT-Folly", folly_version
s.dependency "RCT-Folly"
else
s.dependency "#{folly_prefix}Folly"
end
Expand Down

0 comments on commit 5e915e5

Please sign in to comment.