Skip to content

Commit a7b7263

Browse files
author
Abinash Karmakar
committed
Update to React Native 0.78.0
1 parent 52f62bb commit a7b7263

File tree

9 files changed

+289
-1025
lines changed

9 files changed

+289
-1025
lines changed

.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
#

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ def enableProguardInReleaseBuilds = true
7474
* The preferred build flavor of JavaScriptCore (JSC)
7575
*
7676
* For example, to use the international variant, you can use:
77-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
77+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
7878
*
7979
* The international variant includes ICU i18n library and necessary data
8080
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
8181
* give correct results when using with locales other than en-US. Note that
8282
* this variant is about 6MiB larger per architecture than default.
8383
*/
84-
def jscFlavor = 'org.webkit:android-jsc:+'
84+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
8585

8686
/**
8787
* Private function to get the list of Native Architectures you want to build.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
buildToolsVersion = "35.0.0"
44
minSdkVersion = 24
55
compileSdkVersion = 35
6-
targetSdkVersion = 34
6+
targetSdkVersion = 35
77
ndkVersion = "27.1.12297006"
88
kotlinVersion = "2.0.21"
99
}

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.12-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

android/gradlew

Lines changed: 1 addition & 2 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

bun.lock

Lines changed: 260 additions & 995 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"prettier:fix": "prettier --write ."
2020
},
2121
"dependencies": {
22-
"@react-native-clipboard/clipboard": "^1.16.1",
2322
"@react-native-community/netinfo": "^11.4.1",
2423
"@react-native-masked-view/masked-view": "^0.3.2",
2524
"@react-navigation/bottom-tabs": "^7.2.0",
@@ -28,47 +27,47 @@
2827
"@shopify/react-native-skia": "^1.11.5",
2928
"@tanstack/react-query": "^5.66.0",
3029
"clsx": "^2.1.1",
31-
"hono": "^4.6.20",
30+
"hono": "^4.7.2",
3231
"lottie-react-native": "^7.2.2",
3332
"nativewind": "^4.1.23",
34-
"react": "18.3.1",
35-
"react-native": "0.77.0",
33+
"react": "19.0.0",
34+
"react-native": "0.78.0",
3635
"react-native-device-info": "^14.0.4",
3736
"react-native-geolocation-service": "^5.3.1",
38-
"react-native-gesture-handler": "^2.23.0",
37+
"react-native-gesture-handler": "^2.23.1",
3938
"react-native-linear-gradient": "^2.8.3",
4039
"react-native-mmkv": "^3.2.0",
41-
"react-native-reanimated": "^3.16.7",
40+
"react-native-reanimated": "^4.0.0-beta.2",
4241
"react-native-safe-area-context": "^5.2.0",
43-
"react-native-screens": "^4.6.0",
42+
"react-native-screens": "^4.8.0",
4443
"react-native-svg": "^15.11.1",
4544
"tailwind-merge": "^2.6.0",
46-
"zod": "^3.24.1",
45+
"zod": "^3.24.2",
4746
"zustand": "^5.0.3"
4847
},
4948
"devDependencies": {
50-
"@babel/core": "^7.26.7",
51-
"@babel/preset-env": "^7.26.7",
52-
"@babel/runtime": "^7.26.7",
49+
"@babel/core": "^7.26.9",
50+
"@babel/preset-env": "^7.26.9",
51+
"@babel/runtime": "^7.26.9",
5352
"@react-native-community/cli": "15.1.3",
5453
"@react-native-community/cli-platform-android": "15.1.3",
5554
"@react-native-community/cli-platform-ios": "15.1.3",
56-
"@react-native/babel-preset": "0.77.0",
57-
"@react-native/eslint-config": "0.77.0",
58-
"@react-native/metro-config": "0.77.0",
59-
"@react-native/typescript-config": "0.77.0",
60-
"@tanstack/eslint-plugin-query": "^5.66.0",
55+
"@react-native/babel-preset": "0.78.0",
56+
"@react-native/eslint-config": "0.78.0",
57+
"@react-native/metro-config": "0.78.0",
58+
"@react-native/typescript-config": "0.78.0",
59+
"@tanstack/eslint-plugin-query": "^5.66.1",
6160
"@types/jest": "^29.5.14",
62-
"@types/react": "^18.3.18",
63-
"@types/react-test-renderer": "^18.3.1",
61+
"@types/react": "^19.0.0",
62+
"@types/react-test-renderer": "^19.0.0",
6463
"babel-jest": "^29.7.0",
6564
"babel-plugin-module-resolver": "^5.0.2",
6665
"eslint": "^8.57.1",
6766
"jest": "^29.7.0",
68-
"prettier": "^3.4.2",
67+
"prettier": "^3.5.1",
6968
"prettier-plugin-tailwindcss": "^0.6.11",
7069
"react-native-svg-transformer": "^1.5.0",
71-
"react-test-renderer": "18.3.1",
70+
"react-test-renderer": "19.0.0",
7271
"tailwindcss": "^3.4.17",
7372
"typescript": "^5.7.3"
7473
},

src/screens/Try/RandomColor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Clipboard from '@react-native-clipboard/clipboard'
21
import { Medium } from '@utils/fonts'
32
import { useState } from 'react'
43
import { ToastAndroid, TouchableOpacity, View } from 'react-native'
@@ -94,6 +93,7 @@ export default function RandomColor() {
9493
}
9594

9695
function copyAndShowToast(text: string) {
97-
Clipboard.setString(text)
96+
// TODO: Fix clipboard
97+
// Clipboard.setString(text)
9898
ToastAndroid.show('Copied to clipboard', ToastAndroid.SHORT)
9999
}

src/screens/Try/RandomPassword.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { SettOption } from '@components/Settings/SettOption'
99
import SettText from '@components/Settings/SettText'
1010
import SettWrapper from '@components/Settings/SettWrapper'
1111
import { Txt } from '@components/Text'
12-
import Clipboard from '@react-native-clipboard/clipboard'
1312
import { Colors } from '@utils/colors'
1413
import { W } from '@utils/dimensions'
1514
import { Medium, SemiBold } from '@utils/fonts'
@@ -88,7 +87,8 @@ export default function RandomPassword({ navigation }: NavProp) {
8887
<TouchableOpacity
8988
activeOpacity={0.7}
9089
onPress={() => {
91-
Clipboard.setString(generatedPassword)
90+
// TODO: Fix clipboard
91+
// Clipboard.setString(generatedPassword)
9292
ToastAndroid.show('Password Copied', ToastAndroid.SHORT)
9393
}}
9494
>

0 commit comments

Comments
 (0)