From f0d7da48d38e3db6907844ef5782a30717af9cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sinan=20=C3=96zt=C3=BCrk?= Date: Mon, 11 Mar 2024 16:57:31 +0300 Subject: [PATCH] Update expo and react native, resolve breaking changes --- templates/app/react-native/package.json | 24 +++++++++---------- .../components/DrawerContent/DrawerContent.js | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/app/react-native/package.json b/templates/app/react-native/package.json index d4c5bbc268..c1a6dcb2d8 100644 --- a/templates/app/react-native/package.json +++ b/templates/app/react-native/package.json @@ -10,28 +10,28 @@ "eject": "expo eject" }, "dependencies": { - "@react-native-async-storage/async-storage": "~1.17.11", + "@react-native-async-storage/async-storage": "1.18.2", "@react-navigation/drawer": "^6.5.4", "@react-navigation/native": "^6.1.0", "@react-navigation/native-stack": "^6.9.5", "@reduxjs/toolkit": "^1.7.1", "axios": "~1.2.1", - "expo": "^47.0.0", - "expo-status-bar": "~1.4.2", + "expo": "^49.0.0", + "expo-status-bar": "~1.6.0", "formik": "^2.2.9", "i18n-js": "^3.8.0", "native-base": "^3.4.25", "prop-types": "^15.8.1", - "react": "18.1.0", - "react-dom": "18.1.0", - "react-native": "0.70.8", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-native": "0.72.10", "react-native-chart-kit": "^6.11.0", - "react-native-gesture-handler": "~2.8.0", - "react-native-reanimated": "~2.12.0", - "react-native-safe-area-context": "4.4.1", - "react-native-screens": "~3.18.0", - "react-native-svg": "13.4.0", - "react-native-web": "~0.18.7", + "react-native-gesture-handler": "~2.12.0", + "react-native-reanimated": "~3.3.0", + "react-native-safe-area-context": "4.6.3", + "react-native-screens": "~3.22.0", + "react-native-svg": "13.9.0", + "react-native-web": "~0.19.6", "react-redux": "^8.0.5", "redux-persist": "^6.0.0", "redux-saga": "^1.2.1", diff --git a/templates/app/react-native/src/components/DrawerContent/DrawerContent.js b/templates/app/react-native/src/components/DrawerContent/DrawerContent.js index 598f05a8c7..4f7792fab5 100644 --- a/templates/app/react-native/src/components/DrawerContent/DrawerContent.js +++ b/templates/app/react-native/src/components/DrawerContent/DrawerContent.js @@ -66,7 +66,7 @@ function DrawerContent({ © MyProjectName - v{Constants.manifest.version} + v{Constants.expoConfig.version}