我更新了React,Expo和React-Native的版本
现在我的设备上出现红屏,表明不赞成使用BackAndroid,并且已从此软件包中将其删除。改用BackHandler,但是我不知道BackAndroid在哪里,我不知道它在哪个包中使用。 那是我的package.json
"@expo/vector-icons": "^9.0.0",
"babel-plugin-module-resolver": "^3.1.3",
"babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-preset-expo": "^5.0.0",
"expo": "^33.0.0",
"lato-font": "^3.0.0",
"lodash": "^4.17.14",
"react": "16.8.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
"react-native-app-intro-slider": "0.2.4",
"react-native-bottomsheet": "^1.9.3",
"react-native-customisable-switch": "^0.1.0",
"react-native-dialog-input": "^1.0.7",
"react-native-gesture-handler": "^1.0.0-alpha.43",
"react-native-image-base64": "^0.1.3",
"react-native-js-bottom-sheet": "^1.1.0",
"react-native-keyboard-aware-scroll-view": "^0.8.0",
"react-native-loading-spinner-overlay": "^1.0.1",
"react-native-modal": "5.4.0",
"react-native-modalbox": "^1.7.1",
"react-native-prompt": "^1.0.0",
"react-native-prompt-android": "^0.3.5",
"react-native-swipeable": "^0.6.0",
"react-native-tab-view": "^0.0.77",
"react-native-vector-icons": "^6.2.0",
"react-navigation": "^2.18.0",
"react-waterfall": "3.0.7",
"sentry-expo": "^1.7.0",
"tcomb-form-native": "0.6.11",
"timeago.js": "^3.0.2"