Skip to content

Commit 454574d

Browse files
authored
chore: Upgrade react-native to 0.79.2 in fabric-example (#2684)
# Summary Upgrade react-native to 0.79.2 and other dependencies in fabric-example ## Test Plan Ci is green.
1 parent a8b3c25 commit 454574d

File tree

22 files changed

+1505
-1896
lines changed

22 files changed

+1505
-1896
lines changed

apps/common/example/examples/Filters/FeBlend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function MDNExample() {
109109
<FeBlend in="SourceGraphic" in2="floodFill" mode="multiply" />
110110
</Filter>
111111
<Image
112-
href="https://live.mdnplay.dev/en-US/docs/Web/SVG/Element/feBlend/mdn_logo_only_color.png"
112+
href="https://live.mdnplay.dev/en-US/docs/Web/SVG/Reference/Element/feBlend/mdn_logo_only_color.png"
113113
x="10%"
114114
y="10%"
115115
width="80%"

apps/fabric-example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ local.properties
3333
.cxx/
3434
*.keystore
3535
!debug.keystore
36+
.kotlin/
3637

3738
# node.js
3839
#

apps/fabric-example/Gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ ruby ">= 2.6.10"
66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9+
gem 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'

apps/fabric-example/Gemfile.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ GEM
2222
json (>= 1.5.1)
2323
atomos (0.1.3)
2424
base64 (0.2.0)
25+
benchmark (0.4.0)
2526
bigdecimal (3.1.8)
2627
claide (1.1.0)
2728
cocoapods (1.15.2)
@@ -62,7 +63,7 @@ GEM
6263
netrc (~> 0.11)
6364
cocoapods-try (1.2.0)
6465
colored2 (3.1.2)
65-
concurrent-ruby (1.3.4)
66+
concurrent-ruby (1.3.3)
6667
connection_pool (2.4.1)
6768
drb (2.2.1)
6869
escape (0.0.4)
@@ -76,6 +77,7 @@ GEM
7677
i18n (1.14.6)
7778
concurrent-ruby (~> 1.0)
7879
json (2.7.2)
80+
logger (1.7.0)
7981
minitest (5.25.1)
8082
molinillo (0.8.0)
8183
mutex_m (0.2.0)
@@ -103,7 +105,13 @@ PLATFORMS
103105

104106
DEPENDENCIES
105107
activesupport (>= 6.1.7.5, != 7.1.0)
108+
benchmark
109+
bigdecimal
106110
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
111+
concurrent-ruby (< 1.3.4)
112+
logger
113+
mutex_m
114+
xcodeproj (< 1.26.0)
107115

108116
RUBY VERSION
109117
ruby 3.2.1p31

apps/fabric-example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ def enableProguardInReleaseBuilds = false
6363
* The preferred build flavor of JavaScriptCore (JSC)
6464
*
6565
* For example, to use the international variant, you can use:
66-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
66+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
6767
*
6868
* The international variant includes ICU i18n library and necessary data
6969
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
7070
* give correct results when using with locales other than en-US. Note that
7171
* this variant is about 6MiB larger per architecture than default.
7272
*/
73-
def jscFlavor = 'org.webkit:android-jsc:+'
73+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
7474

7575
android {
7676
ndkVersion rootProject.ext.ndkVersion

apps/fabric-example/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ buildscript {
33
buildToolsVersion = "35.0.0"
44
minSdkVersion = 24
55
compileSdkVersion = 35
6-
targetSdkVersion = 34
7-
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
6+
targetSdkVersion = 35
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()
Binary file not shown.

apps/fabric-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.10.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

apps/fabric-example/android/gradlew

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum
@@ -206,7 +205,7 @@ fi
206205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207206

208207
# Collect all arguments for the java command:
209-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210209
# and any embedded shellness will be escaped.
211210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212211
# treated as '${Hostname}' itself on the command line.

apps/fabric-example/ios/FabricExample.xcodeproj/project.pbxproj

Lines changed: 5 additions & 224 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)