Skip to content

Commit d1328b6

Browse files
authored
Update to React Native 0.79 (#21)
1 parent 6023f81 commit d1328b6

19 files changed

+3089
-3256
lines changed

.gitignore

+1
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
# Visual Studio Code
3839
#

example/Gemfile

+7
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ ruby ">= 2.6.10"
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
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'

example/Gemfile.lock

+17-10
Original file line numberDiff line numberDiff line change
@@ -65,29 +65,31 @@ GEM
6565
netrc (~> 0.11)
6666
cocoapods-try (1.2.0)
6767
colored2 (3.1.2)
68-
concurrent-ruby (1.3.4)
69-
connection_pool (2.5.0)
68+
concurrent-ruby (1.3.3)
69+
connection_pool (2.5.3)
7070
drb (2.2.1)
7171
escape (0.0.4)
7272
ethon (0.16.0)
7373
ffi (>= 1.15.0)
74-
ffi (1.17.1)
74+
ffi (1.17.2)
7575
fourflusher (2.3.1)
7676
fuzzy_match (2.0.4)
7777
gh_inspector (1.1.3)
78-
httpclient (2.8.3)
79-
i18n (1.14.6)
78+
httpclient (2.9.0)
79+
mutex_m
80+
i18n (1.14.7)
8081
concurrent-ruby (~> 1.0)
81-
json (2.9.1)
82-
logger (1.6.4)
83-
minitest (5.25.4)
82+
json (2.11.3)
83+
logger (1.7.0)
84+
minitest (5.25.5)
8485
molinillo (0.8.0)
86+
mutex_m (0.3.0)
8587
nanaimo (0.3.0)
8688
nap (1.1.0)
8789
netrc (0.11.0)
8890
nkf (0.2.0)
8991
public_suffix (4.0.7)
90-
rexml (3.4.0)
92+
rexml (3.4.1)
9193
ruby-macho (2.5.1)
9294
securerandom (0.4.1)
9395
typhoeus (1.4.1)
@@ -107,11 +109,16 @@ PLATFORMS
107109

108110
DEPENDENCIES
109111
activesupport (>= 6.1.7.5, != 7.1.0)
112+
benchmark
113+
bigdecimal
110114
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
115+
concurrent-ruby (< 1.3.4)
116+
logger
117+
mutex_m
111118
xcodeproj (< 1.26.0)
112119

113120
RUBY VERSION
114121
ruby 3.3.4p94
115122

116123
BUNDLED WITH
117-
2.6.2
124+
2.6.8

example/android/app/build.gradle

+2-2
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

example/android/build.gradle

+3-3
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()
122 Bytes
Binary file not shown.

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

+1-1
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

example/android/gradlew

+2-3
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.

0 commit comments

Comments
 (0)