From 8a4fd0b50cbfc0605c8bdb1a22d7891bfba91882 Mon Sep 17 00:00:00 2001 From: Kshitij Pramod Ghongadi Date: Wed, 11 Dec 2024 20:50:07 +0530 Subject: [PATCH] NTP-13248 | RN + Reanimated version bump (#13779) Co-authored-by: Rohitaksh Choudhary --- android/app/build.gradle | 3 ++- babel.config.js | 6 ++---- package.json | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index e3609ec491..901dd7fb2f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -216,7 +216,8 @@ static def formatString(String value) { project.ext.react = [ entryFile : "index.js", - enableHermes: true // clean and rebuild if changing + enableHermes: true, // clean and rebuild if changing + newArchEnabled: false ] project.ext.envConfigFiles = [ diff --git a/babel.config.js b/babel.config.js index efba1c3767..8fbddb04ce 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,4 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], - plugins: [ - "react-native-reanimated/plugin", - ] + presets: ["module:@react-native/babel-preset"], + plugins: ["react-native-reanimated/plugin"], }; diff --git a/package.json b/package.json index 0df679be25..70782c5b7d 100644 --- a/package.json +++ b/package.json @@ -34,14 +34,14 @@ "lodash": "^4.17.21", "lottie-react-native": "^5.1.6", "react": "^18.2.0", - "react-native": "0.73.2", + "react-native": "0.74.0", + "react-native-reanimated": "3.11.0", "react-native-code-push": "8.2.1", "react-native-config": "^1.5.1", "react-native-gesture-handler": "^2.14.0", "react-native-linear-gradient": "^2.5.6", "react-native-modal": "^13.0.1", - "react-native-reanimated": "^3.6.1", - "react-native-safe-area-context": "^4.7.1", + "react-native-safe-area-context": "^4.10.1", "react-native-screens": "^3.29.0", "react-native-skeleton-placeholder": "^5.2.4", "react-native-webp-format": "^1.2.0",