Browse Source

Update expo and react native, resolve breaking changes

pull/19259/head
Sinan Öztürk 3 years ago
parent
commit
f0d7da48d3
  1. 24
      templates/app/react-native/package.json
  2. 2
      templates/app/react-native/src/components/DrawerContent/DrawerContent.js

24
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",

2
templates/app/react-native/src/components/DrawerContent/DrawerContent.js

@ -66,7 +66,7 @@ function DrawerContent({
© MyProjectName
</Text>
<Text note style={styles.version}>
v{Constants.manifest.version}
v{Constants.expoConfig.version}
</Text>
</View>
</View>

Loading…
Cancel
Save