Skip to content

Commit 793ba4d

Browse files
committed
chore: update to RN 84
1 parent e2dfd97 commit 793ba4d

17 files changed

Lines changed: 1044 additions & 1600 deletions

File tree

bun.lock

Lines changed: 139 additions & 157 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ source 'https://rubygems.org'
44
ruby ">= 2.6.10"
55

66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
7-
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
7+
gem 'cocoapods', '>= 1.16.2', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9-
gem 'xcodeproj', '< 1.26.0'
109
gem 'concurrent-ruby', '< 1.3.4'
1110

1211
# Ruby 3.4.0 has removed some libraries from the standard library.
1312
gem 'bigdecimal'
1413
gem 'logger'
1514
gem 'benchmark'
1615
gem 'mutex_m'
16+
gem 'nkf'
17+
gem 'base64'

example/Gemfile.lock

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.7)
5-
base64
6-
nkf
7-
rexml
8-
activesupport (7.2.2.2)
4+
CFPropertyList (3.0.8)
5+
activesupport (7.2.3.1)
96
base64
107
benchmark (>= 0.3)
118
bigdecimal
@@ -14,23 +11,23 @@ GEM
1411
drb
1512
i18n (>= 1.6, < 2)
1613
logger (>= 1.4.2)
17-
minitest (>= 5.1)
14+
minitest (>= 5.1, < 6)
1815
securerandom (>= 0.3)
1916
tzinfo (~> 2.0, >= 2.0.5)
20-
addressable (2.8.7)
21-
public_suffix (>= 2.0.2, < 7.0)
17+
addressable (2.9.0)
18+
public_suffix (>= 2.0.2, < 8.0)
2219
algoliasearch (1.27.5)
2320
httpclient (~> 2.8, >= 2.8.3)
2421
json (>= 1.5.1)
2522
atomos (0.1.3)
2623
base64 (0.3.0)
27-
benchmark (0.4.1)
28-
bigdecimal (3.3.1)
24+
benchmark (0.5.0)
25+
bigdecimal (4.1.1)
2926
claide (1.1.0)
30-
cocoapods (1.15.2)
27+
cocoapods (1.16.2)
3128
addressable (~> 2.8)
3229
claide (>= 1.0.2, < 2.0)
33-
cocoapods-core (= 1.15.2)
30+
cocoapods-core (= 1.16.2)
3431
cocoapods-deintegrate (>= 1.0.3, < 2.0)
3532
cocoapods-downloader (>= 2.1, < 3.0)
3633
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -44,8 +41,8 @@ GEM
4441
molinillo (~> 0.8.0)
4542
nap (~> 1.0)
4643
ruby-macho (>= 2.3.0, < 3.0)
47-
xcodeproj (>= 1.23.0, < 2.0)
48-
cocoapods-core (1.15.2)
44+
xcodeproj (>= 1.27.0, < 2.0)
45+
cocoapods-core (1.16.2)
4946
activesupport (>= 5.0, < 8)
5047
addressable (~> 2.8)
5148
algoliasearch (~> 1.0)
@@ -66,56 +63,58 @@ GEM
6663
cocoapods-try (1.2.0)
6764
colored2 (3.1.2)
6865
concurrent-ruby (1.3.3)
69-
connection_pool (2.5.4)
66+
connection_pool (3.0.2)
7067
drb (2.2.3)
7168
escape (0.0.4)
72-
ethon (0.15.0)
69+
ethon (0.18.0)
7370
ffi (>= 1.15.0)
74-
ffi (1.17.2)
71+
logger
72+
ffi (1.17.4)
7573
fourflusher (2.3.1)
7674
fuzzy_match (2.0.4)
7775
gh_inspector (1.1.3)
7876
httpclient (2.9.0)
7977
mutex_m
80-
i18n (1.14.7)
78+
i18n (1.14.8)
8179
concurrent-ruby (~> 1.0)
82-
json (2.15.1)
80+
json (2.19.3)
8381
logger (1.7.0)
84-
minitest (5.26.0)
82+
minitest (5.27.0)
8583
molinillo (0.8.0)
8684
mutex_m (0.3.0)
87-
nanaimo (0.3.0)
85+
nanaimo (0.4.0)
8886
nap (1.1.0)
8987
netrc (0.11.0)
9088
nkf (0.2.0)
9189
public_suffix (4.0.7)
9290
rexml (3.4.4)
9391
ruby-macho (2.5.1)
9492
securerandom (0.4.1)
95-
typhoeus (1.5.0)
96-
ethon (>= 0.9.0, < 0.16.0)
93+
typhoeus (1.6.0)
94+
ethon (>= 0.18.0)
9795
tzinfo (2.0.6)
9896
concurrent-ruby (~> 1.0)
99-
xcodeproj (1.25.1)
97+
xcodeproj (1.27.0)
10098
CFPropertyList (>= 2.3.3, < 4.0)
10199
atomos (~> 0.1.3)
102100
claide (>= 1.0.2, < 2.0)
103101
colored2 (~> 3.1)
104-
nanaimo (~> 0.3.0)
102+
nanaimo (~> 0.4.0)
105103
rexml (>= 3.3.6, < 4.0)
106104

107105
PLATFORMS
108106
ruby
109107

110108
DEPENDENCIES
111109
activesupport (>= 6.1.7.5, != 7.1.0)
110+
base64
112111
benchmark
113112
bigdecimal
114-
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
113+
cocoapods (>= 1.16.2, != 1.15.1, != 1.15.0)
115114
concurrent-ruby (< 1.3.4)
116115
logger
117116
mutex_m
118-
xcodeproj (< 1.26.0)
117+
nkf
119118

120119
RUBY VERSION
121120
ruby 3.4.6p54

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ react {
1919

2020
/* Variants */
2121
// The list of variants to that are debuggable. For those we're going to
22-
// skip the bundling of the JS bundle and the assets. By default is just 'debug'.
22+
// skip the bundling of the JS bundle and the assets. Default is "debug", "debugOptimized".
2323
// If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
24-
// debuggableVariants = ["liteDebug", "prodDebug"]
24+
// debuggableVariants = ["liteDebug", "liteDebugOptimized", "prodDebug", "prodDebugOptimized"]
2525

2626
/* Bundling */
2727
// A list containing the node command and its flags. Default is just 'node'.

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:allowBackup="false"
1111
android:theme="@style/AppTheme"
12+
android:usesCleartextTraffic="${usesCleartextTraffic}"
1213
android:supportsRtl="true">
1314
<activity
1415
android:name=".MainActivity"

example/android/app/src/main/java/com/performancetoolkitexample/MainApplication.kt

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,20 @@ import com.facebook.react.PackageList
55
import com.facebook.react.ReactApplication
66
import com.facebook.react.ReactHost
77
import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
8-
import com.facebook.react.ReactNativeHost
9-
import com.facebook.react.ReactPackage
108
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
11-
import com.facebook.react.defaults.DefaultReactNativeHost
129

1310
class MainApplication : Application(), ReactApplication {
1411

15-
override val reactNativeHost: ReactNativeHost =
16-
object : DefaultReactNativeHost(this) {
17-
override fun getPackages(): List<ReactPackage> =
18-
PackageList(this).packages.apply {
19-
// Packages that cannot be autolinked yet can be added manually here, for example:
20-
// add(MyReactNativePackage())
21-
}
22-
23-
override fun getJSMainModuleName(): String = "index"
24-
25-
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
26-
27-
override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
28-
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
29-
}
30-
31-
override val reactHost: ReactHost
32-
get() = getDefaultReactHost(applicationContext, reactNativeHost)
12+
override val reactHost: ReactHost by lazy {
13+
getDefaultReactHost(
14+
context = applicationContext,
15+
packageList =
16+
PackageList(this).packages.apply {
17+
// Packages that cannot be autolinked yet can be added manually here, for example:
18+
// add(MyReactNativePackage())
19+
},
20+
)
21+
}
3322

3423
override fun onCreate() {
3524
super.onCreate()
1.65 KB
Binary file not shown.

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

example/android/gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)