Skip to content

Bump Flipper to 0.201.0 #38260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Version of flipper SDK to use for this integration
FLIPPER_VERSION=0.182.0
FLIPPER_FRESCO_VERSION=3.0.0
FLIPPER_VERSION=0.201.0
FLIPPER_FRESCO_VERSION=3.0.0
12 changes: 0 additions & 12 deletions packages/react-native/scripts/cocoapods/__tests__/flipper-test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ def test_postInstall_updatesThePodCorrectly
flipper_post_install(installer)

# Assert
yoga_target = installer.target_with_name("YogaKit")
yoga_target.build_configurations.each do |config|
assert_equal(config.build_settings['SWIFT_VERSION'], '4.1')
end

reactCore_target = installer.target_with_name("React-RCTAppDelegate")
reactCore_target.build_configurations.each do |config|
Expand Down Expand Up @@ -129,14 +125,6 @@ def check_flipper_pod(name, expectedVersion, expectedConfigurations)
def prepare_mocked_installer
return InstallerMock.new(
PodsProjectMock.new([
TargetMock.new(
"YogaKit",
[
BuildConfigurationMock.new("Debug", is_debug: true),
BuildConfigurationMock.new("Release", is_debug: false),
BuildConfigurationMock.new("CustomConfig", is_debug: true),
]
),
TargetMock.new(
"React-Core",
[
Expand Down
9 changes: 1 addition & 8 deletions packages/react-native/scripts/cocoapods/flipper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Default versions of Flipper and related dependencies.
# Update this map to bump the dependencies.
$flipper_default_versions = {
'Flipper' => '0.182.0',
'Flipper' => '0.201.0',
'Flipper-Boost-iOSX' => '1.76.0.1.11',
'Flipper-DoubleConversion' => '3.2.0.1',
'Flipper-Fmt' => '7.1.7',
Expand Down Expand Up @@ -64,18 +64,11 @@ def use_flipper_pods(versions = {}, configurations: ['Debug'])
end

# Applies some changes to some pods of the project:
# * it sets the Swift version for Yoga kit to 4.1
# * it sets the sonar-kit flag to React-Core pod
#
# @parameter installer: the installer object used to install the pods.
def flipper_post_install(installer)
installer.pods_project.targets.each do |target|
if target.name == 'YogaKit'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1'
end
end

# Enable flipper for React-RCTAppDelegate Debug configuration
if target.name == 'React-RCTAppDelegate'
target.build_configurations.each do |config|
Expand Down
Loading