Skip to content

Commit b87a2db

Browse files
committed
feat: added Fabric support for iOS with backwards compatibility
1 parent 9e9a193 commit b87a2db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+10392
-1683
lines changed

example/Gemfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
source 'https://rubygems.org'
22

3-
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby ">= 2.6.10"
5-
63
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
74
# bound in the template on Cocoapods with next React Native release.
8-
gem 'cocoapods', '>= 1.13', '< 1.15'
5+
gem 'cocoapods', '1.14.3'
96
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'

example/Gemfile.lock

+15-10
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.6)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
68
activesupport (7.0.8)
79
concurrent-ruby (~> 1.0, >= 1.0.2)
810
i18n (>= 1.6, < 2)
911
minitest (>= 5.1)
1012
tzinfo (~> 2.0)
11-
addressable (2.8.5)
13+
addressable (2.8.6)
1214
public_suffix (>= 2.0.2, < 6.0)
1315
algoliasearch (1.27.5)
1416
httpclient (~> 2.8, >= 2.8.3)
1517
json (>= 1.5.1)
1618
atomos (0.1.3)
19+
base64 (0.2.0)
1720
claide (1.1.0)
18-
cocoapods (1.14.2)
21+
cocoapods (1.14.3)
1922
addressable (~> 2.8)
2023
claide (>= 1.0.2, < 2.0)
21-
cocoapods-core (= 1.14.2)
24+
cocoapods-core (= 1.14.3)
2225
cocoapods-deintegrate (>= 1.0.3, < 2.0)
23-
cocoapods-downloader (>= 2.0)
26+
cocoapods-downloader (>= 2.1, < 3.0)
2427
cocoapods-plugins (>= 1.0.0, < 2.0)
2528
cocoapods-search (>= 1.0.0, < 2.0)
2629
cocoapods-trunk (>= 1.6.0, < 2.0)
@@ -33,7 +36,7 @@ GEM
3336
nap (~> 1.0)
3437
ruby-macho (>= 2.3.0, < 3.0)
3538
xcodeproj (>= 1.23.0, < 2.0)
36-
cocoapods-core (1.14.2)
39+
cocoapods-core (1.14.3)
3740
activesupport (>= 5.0, < 8)
3841
addressable (~> 2.8)
3942
algoliasearch (~> 1.0)
@@ -64,20 +67,21 @@ GEM
6467
httpclient (2.8.3)
6568
i18n (1.14.1)
6669
concurrent-ruby (~> 1.0)
67-
json (2.6.3)
70+
json (2.7.2)
6871
minitest (5.20.0)
6972
molinillo (0.8.0)
7073
nanaimo (0.3.0)
7174
nap (1.1.0)
7275
netrc (0.11.0)
76+
nkf (0.2.0)
7377
public_suffix (4.0.7)
7478
rexml (3.2.6)
7579
ruby-macho (2.5.1)
7680
typhoeus (1.4.1)
7781
ethon (>= 0.9.0)
7882
tzinfo (2.0.6)
7983
concurrent-ruby (~> 1.0)
80-
xcodeproj (1.23.0)
84+
xcodeproj (1.24.0)
8185
CFPropertyList (>= 2.3.3, < 4.0)
8286
atomos (~> 0.1.3)
8387
claide (>= 1.0.2, < 2.0)
@@ -87,10 +91,11 @@ GEM
8791

8892
PLATFORMS
8993
arm64-darwin-22
94+
arm64-darwin-23
9095

9196
DEPENDENCIES
92-
activesupport (>= 6.1.7.3, < 7.1.0)
93-
cocoapods (= 1.14.2)
97+
activesupport (>= 6.1.7.5, < 7.1.0)
98+
cocoapods (= 1.14.3)
9499

95100
BUNDLED WITH
96101
2.3.26

example/ios/.xcode.env.local

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export NODE_BINARY=/Users/enahum/.nvm/versions/node/v18.17.1/bin/node
2+

example/ios/Podfile

-9
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ require Pod::Executable.execute_command('node', ['-p',
88
platform :ios, min_ios_version_supported
99
prepare_react_native_project!
1010

11-
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
12-
1311
linkage = ENV['USE_FRAMEWORKS']
1412
if linkage != nil
1513
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
@@ -21,17 +19,10 @@ target 'ReactNativePasteInputExample' do
2119

2220
use_react_native!(
2321
:path => config[:reactNativePath],
24-
# Enables Flipper.
25-
#
26-
# Note that if you have use_frameworks! enabled, Flipper will not work and
27-
# you should disable the next line.
28-
:flipper_configuration => flipper_config,
2922
# An absolute path to your application root.
3023
:app_path => "#{Pod::Config.instance.installation_root}/.."
3124
)
3225

33-
pod 'react-native-paste-input', :path => '../..'
34-
3526
post_install do |installer|
3627
react_native_post_install(
3728
installer,

0 commit comments

Comments
 (0)