Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ReactNative to 0.78 #58914

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ def enableProguardInReleaseBuilds = true
* The preferred build flavor of JavaScriptCore (JSC)
*
* For example, to use the international variant, you can use:
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
* `def jscFlavor = 'io.github.react-native-community:jsc-android-intl:2026004.+`
*
* The international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'

android {
androidResources {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 2 additions & 2 deletions android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2,970 changes: 1,248 additions & 1,722 deletions package-lock.json

Large diffs are not rendered by default.

58 changes: 32 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ipad-standalone": "concurrently \"STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ipad\"",
"ipad-sm": "concurrently \"./scripts/run-build.sh --ipad-sm\"",
"ipad-sm-standalone": "concurrently \"STANDALONE_NEW_DOT=true ./scripts/run-build.sh --ipad-sm\"",
"start": "npx react-native start --client-logs",
"start": "npx react-native start --client-logs --reset-cache",
"web": "./scripts/set-pusher-suffix.sh && concurrently npm:web-proxy npm:web-server",
"web-proxy": "ts-node web/proxy.ts",
"web-server": "webpack-dev-server --open --config config/webpack/webpack.dev.ts",
Expand Down Expand Up @@ -80,8 +80,8 @@
"@dotlottie/react-player": "^1.6.3",
"@expensify/react-native-background-task": "file:./modules/background-task",
"@expensify/react-native-hybrid-app": "file:./modules/hybrid-app",
"@expensify/react-native-live-markdown": "0.1.244",
"@expo/metro-runtime": "^4.0.1",
"@expensify/react-native-live-markdown": "0.1.256",
"@expo/metro-runtime": "4.0.2-canary-20250306-d9d3e02",
"@firebase/app": "^0.10.10",
"@firebase/performance": "^0.6.8",
"@formatjs/intl-datetimeformat": "^6.12.5",
Expand All @@ -99,6 +99,7 @@
"@react-native-clipboard/clipboard": "^1.15.0",
"@react-native-community/geolocation": "3.3.0",
"@react-native-community/netinfo": "11.2.1",
"@react-native-documents/picker": "^10.1.1",
"@react-native-firebase/analytics": "^12.3.0",
"@react-native-firebase/app": "^12.3.0",
"@react-native-firebase/crashlytics": "^12.3.0",
Expand All @@ -113,7 +114,7 @@
"@rnmapbox/maps": "10.1.33",
"@shopify/flash-list": "1.7.1",
"@types/pako": "^2.0.3",
"@ua/react-native-airship": "19.2.1",
"@ua/react-native-airship": "22.0.0",
"awesome-phonenumber": "^5.4.0",
"babel-polyfill": "^6.26.0",
"canvas-size": "^1.2.6",
Expand All @@ -123,12 +124,12 @@
"dom-serializer": "^0.2.2",
"domhandler": "^4.3.0",
"expensify-common": "2.0.124",
"expo": "52.0.28",
"expo-asset": "^11.0.2",
"expo-av": "^15.0.2",
"expo-font": "^13.0.3",
"expo-image": "^2.0.4",
"expo-image-manipulator": "^13.0.6",
"expo": "53.0.0-canary-20250306-d9d3e02",
"expo-asset": " 12.0.0-canary-20250306-d9d3e02",
"expo-av": "15.0.3-canary-20250306-d9d3e02",
"expo-font": "14.0.0-canary-20250306-d9d3e02",
"expo-image": "3.0.0-canary-20250306-d9d3e02",
"expo-image-manipulator": "13.0.7-canary-20250306-d9d3e02",
"fast-equals": "^4.0.3",
"focus-trap-react": "^11.0.3",
"howler": "^2.2.4",
Expand All @@ -141,15 +142,15 @@
"pako": "^2.1.0",
"process": "^0.11.10",
"pusher-js": "8.3.0",
"react": "18.3.1",
"react": "19.0.0",
"react-beautiful-dnd": "^13.1.1",
"react-collapse": "^5.1.0",
"react-content-loader": "^7.0.0",
"react-dom": "18.3.1",
"react-dom": "19.0.0",
"react-error-boundary": "^4.0.11",
"react-fast-pdf": "^1.0.27",
"react-map-gl": "^7.1.3",
"react-native": "0.77.1",
"react-native": "0.78.0",
"react-native-advanced-input-mask": "1.3.1",
"react-native-android-location-enabler": "^2.0.1",
"react-native-app-logs": "0.3.1",
Expand All @@ -160,7 +161,7 @@
"react-native-document-picker": "^9.3.1",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "2.22.0",
"react-native-gesture-handler": "2.24.0",
"react-native-google-places-autocomplete": "2.5.6",
"react-native-haptic-feedback": "^2.3.3",
"react-native-image-picker": "^7.1.2",
Expand All @@ -182,8 +183,8 @@
"react-native-reanimated": "3.17.1",
"react-native-release-profiler": "^0.2.1",
"react-native-render-html": "6.3.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "3.35.0",
"react-native-safe-area-context": "5.2.0",
"react-native-screens": "3.37.0",
"react-native-share": "11.0.2",
"react-native-sound": "^0.11.2",
"react-native-svg": "15.9.0",
Expand Down Expand Up @@ -238,8 +239,8 @@
"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
"@react-native-community/eslint-config": "3.2.0",
"@react-native/babel-preset": "0.77.1",
"@react-native/metro-config": "0.77.1",
"@react-native/babel-preset": "0.78.0",
"@react-native/metro-config": "0.78.0",
"@react-navigation/devtools": "^6.0.10",
"@storybook/addon-a11y": "^8.1.10",
"@storybook/addon-essentials": "^8.1.10",
Expand All @@ -263,13 +264,13 @@
"@types/mime-db": "^1.43.5",
"@types/node": "^20.11.5",
"@types/pusher-js": "^5.1.0",
"@types/react": "^18.2.6",
"@types/react": "^19.0.0",
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-collapse": "^5.0.1",
"@types/react-dom": "^18.2.4",
"@types/react-dom": "^19.0.0",
"@types/react-is": "^18.3.0",
"@types/react-native-web": "^0.0.0",
"@types/react-test-renderer": "^18.0.0",
"@types/react-test-renderer": "19.0.0",
"@types/semver": "^7.5.4",
"@types/setimmediate": "^1.0.2",
"@types/webpack": "^5.28.5",
Expand All @@ -278,7 +279,7 @@
"@typescript-eslint/parser": "^7.13.1",
"@vercel/ncc": "0.38.1",
"@vue/preload-webpack-plugin": "^2.0.0",
"@welldone-software/why-did-you-render": "7.0.1",
"@welldone-software/why-did-you-render": "10.0.1",
"ajv-cli": "^5.0.0",
"babel-jest": "29.4.1",
"babel-loader": "^9.1.3",
Expand Down Expand Up @@ -316,7 +317,7 @@
"jest-circus": "29.4.1",
"jest-cli": "29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jest-expo": "52.0.3",
"jest-expo": "53.0.0-canary-20250306-d9d3e02",
"jest-transformer-svg": "^2.0.1",
"jest-when": "^3.5.2",
"link": "^2.1.1",
Expand All @@ -332,13 +333,13 @@
"react-is": "^18.3.1",
"react-native-clean-project": "^4.0.0-alpha4.0",
"react-refresh": "^0.14.2",
"react-test-renderer": "18.3.1",
"react-test-renderer": "19.0.0",
"reassure": "^1.0.0-rc.4",
"semver": "7.5.2",
"setimmediate": "^1.0.5",
"shellcheck": "^1.1.0",
"source-map": "^0.7.4",
"storybook": "^8.4.0",
"storybook": "^8.6.1",
"style-loader": "^2.0.0",
"time-analytics-webpack-plugin": "^0.1.17",
"ts-jest": "^29.1.2",
Expand Down Expand Up @@ -372,7 +373,12 @@
"body-parser": "1.20.3",
"path-to-regexp": "0.1.10",
"send": "0.19.0",
"regexpu-core": "5.3.2"
"regexpu-core": "5.3.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"expo": "53.0.0-canary-20250306-d9d3e02",
"metro": "^0.81.3",
"metro-core": "^0.81.3"
},
"expo": {
"autolinking": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/node_modules/@expensify/react-native-live-markdown/android/src/main/new_arch/react/renderer/components/RNLiveMarkdownSpec/MarkdownTextInputDecoratorShadowNode.cpp b/node_modules/@expensify/react-native-live-markdown/android/src/main/new_arch/react/renderer/components/RNLiveMarkdownSpec/MarkdownTextInputDecoratorShadowNode.cpp
index f608576..5671af7 100644
--- a/node_modules/@expensify/react-native-live-markdown/android/src/main/new_arch/react/renderer/components/RNLiveMarkdownSpec/MarkdownTextInputDecoratorShadowNode.cpp
+++ b/node_modules/@expensify/react-native-live-markdown/android/src/main/new_arch/react/renderer/components/RNLiveMarkdownSpec/MarkdownTextInputDecoratorShadowNode.cpp
@@ -3,7 +3,6 @@
#include <fbjni/fbjni.h>
#include <react/fabric/JFabricUIManager.h>
#include <react/jni/ReadableNativeMap.h>
-#include <react/renderer/components/androidtextinput/AndroidTextInputState.h>
#include <react/renderer/components/view/conversions.h>
#include <react/renderer/core/ComponentDescriptor.h>
#include <yoga/Yoga.h>

This file was deleted.

47 changes: 0 additions & 47 deletions patches/expo+52.0.28+001+dont-change-formdata.patch

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions patches/expo-modules-core+2.2.0+001+disableViewRecycling.patch

This file was deleted.

13 changes: 0 additions & 13 deletions patches/expo-modules-core+2.2.0+002+change-global-type.patch

This file was deleted.

13 changes: 0 additions & 13 deletions patches/jest-expo+52.0.3.patch

This file was deleted.

Loading
Loading