Skip to content

Commit e682664

Browse files
committed
update: React Native 0.80.0
1 parent 70fd7a8 commit e682664

File tree

9 files changed

+75
-908
lines changed

9 files changed

+75
-908
lines changed

android/app/src/main/java/com/techtriangle/MainApplication.kt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
package com.techtriangle
1+
package com.rndiffapp
22

33
import android.app.Application
44
import com.facebook.react.PackageList
55
import com.facebook.react.ReactApplication
66
import com.facebook.react.ReactHost
7+
import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
78
import com.facebook.react.ReactNativeHost
89
import com.facebook.react.ReactPackage
9-
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
1010
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
1111
import com.facebook.react.defaults.DefaultReactNativeHost
12-
import com.facebook.react.soloader.OpenSourceMergedSoMapping
13-
import com.facebook.soloader.SoLoader
1412

1513
class MainApplication : Application(), ReactApplication {
1614

@@ -35,10 +33,6 @@ class MainApplication : Application(), ReactApplication {
3533

3634
override fun onCreate() {
3735
super.onCreate()
38-
SoLoader.init(this, OpenSourceMergedSoMapping)
39-
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
40-
// If you opted-in for the New Architecture, we load the native entry point for this app.
41-
load()
42-
}
36+
loadReactNative(this)
4337
}
4438
}

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
compileSdkVersion = 35
66
targetSdkVersion = 35
77
ndkVersion = "27.1.12297006"
8-
kotlinVersion = "2.0.21"
8+
kotlinVersion = "2.1.20"
99
}
1010
repositories {
1111
google()
59 Bytes
Binary file not shown.

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

android/gradlew

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

android/gradlew.bat

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@REM Copyright (c) Meta Platforms, Inc. and affiliates.
2+
@REM
3+
@REM This source code is licensed under the MIT license found in the
4+
@REM LICENSE file in the root directory of this source tree.
5+
16
@rem
27
@rem Copyright 2015 the original author or authors.
38
@rem
@@ -70,11 +75,11 @@ goto fail
7075
:execute
7176
@rem Setup the command line
7277

73-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
78+
set CLASSPATH=
7479

7580

7681
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
82+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7883

7984
:end
8085
@rem End local scope for the variables with windows NT shell

bun.lock

Lines changed: 48 additions & 880 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"hono": "^4.7.11",
3333
"lottie-react-native": "^7.2.2",
3434
"nativewind": "^4.1.23",
35-
"react": "19.0.0",
36-
"react-native": "0.79.2",
35+
"react": "19.1.0",
36+
"react-native": "0.80.0",
3737
"react-native-device-info": "^14.0.4",
3838
"react-native-geolocation-service": "^5.3.1",
3939
"react-native-gesture-handler": "^2.25.0",
@@ -52,25 +52,25 @@
5252
"@babel/preset-env": "^7.27.1",
5353
"@babel/runtime": "^7.27.1",
5454
"@biomejs/biome": "1.9.4",
55-
"@react-native-community/cli": "18.0.0",
56-
"@react-native-community/cli-platform-android": "18.0.0",
57-
"@react-native-community/cli-platform-ios": "18.0.0",
58-
"@react-native/babel-preset": "0.79.2",
59-
"@react-native/eslint-config": "0.79.2",
60-
"@react-native/metro-config": "0.79.2",
61-
"@react-native/typescript-config": "0.79.2",
55+
"@react-native-community/cli": "19.0.0",
56+
"@react-native-community/cli-platform-android": "19.0.0",
57+
"@react-native-community/cli-platform-ios": "19.0.0",
58+
"@react-native/babel-preset": "0.80.0",
59+
"@react-native/eslint-config": "0.80.0",
60+
"@react-native/metro-config": "0.80.0",
61+
"@react-native/typescript-config": "0.80.0",
6262
"@tanstack/eslint-plugin-query": "^5.78.0",
6363
"@types/jest": "^29.5.14",
64-
"@types/react": "19.0.0",
65-
"@types/react-test-renderer": "19.0.0",
64+
"@types/react": "^19.1.0",
65+
"@types/react-test-renderer": "^19.1.0",
6666
"babel-jest": "^29.7.0",
6767
"babel-plugin-module-resolver": "^5.0.2",
6868
"eslint": "^8.57.1",
6969
"jest": "^29.7.0",
7070
"prettier": "^3.5.3",
7171
"prettier-plugin-tailwindcss": "^0.6.12",
7272
"react-native-svg-transformer": "^1.5.1",
73-
"react-test-renderer": "^19.0.0",
73+
"react-test-renderer": "19.1.0",
7474
"tailwindcss": "^3.4.17",
7575
"typescript": "^5.8.3"
7676
},

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@react-native/typescript-config/tsconfig.json",
2+
"extends": "@react-native/typescript-config",
33
"compilerOptions": {
44
"allowJs": true,
55
"jsx": "react-jsx",

0 commit comments

Comments
 (0)