基于react-native 0.59.10开发的app,苹果的App Store上已经上线了,但是发现ios10下载不了,提示必须升级到13.6或者以上的版本。
在react-native官网上没有看到框架对ios和android系统版本的支持情况,不确定是react-native不支持ios10还是用到的某个库不支持
package.json文件
{
"name": "AOBOMobile",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"ios": "react-native run-ios",
"ios:release": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output bundle/main.jsbundle --assets-dest bundle/ && react-native run-ios --configuration Release",
"android": "cd android && ./gradlew clean && cd .. && react-native run-android",
"android:release": "react-native bundle --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --platform android --assets-dest ./android/app/src/main/res/ --dev false && cd android && ./gradlew assembleRelease",
"postinstall": "./postinstall.sh"
},
"dependencies": {
"@react-native-community/async-storage": "^1.11.0",
"babel-plugin-root-import": "^6.5.0",
"geolib": "^3.0.4",
"moment": "^2.24.0",
"native-base": "^2.13.12",
"prop-types": "^15.7.2",
"react": "16.8.3",
"react-native": "0.59.10",
"react-native-aliyun-push": "^1.0.17",
"react-native-amap3d": "^1.1.1",
"react-native-camera": "^1.13.1",
"react-native-datepicker": "^1.7.2",
"react-native-dropdown-picker": "^3.6.8",
"react-native-expandable-section-flatlist": "^1.2.2",
"react-native-gesture-handler": "^1.3.0",
"react-native-image-picker": "^0.28.1",
"react-native-image-zoom-viewer": "^2.2.26",
"react-native-linear-gradient": "^2.5.6",
"react-native-nfc-manager": "^1.2.6",
"react-native-reanimated": "^1.1.0",
"react-native-root-toast": "3.1.2",
"react-native-simple-store": "^2.0.2",
"react-native-smart-tip": "^2.2.1",
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^9.6.1",
"react-native-swipe-list-view": "^2.0.0",
"react-native-timeline-listview": "^0.2.3",
"react-navigation": "^3.11.1",
"react-navigation-backhandler": "^1.3.2",
"react-redux": "^7.1.0",
"redux": "^4.0.4",
"redux-logger": "^3.0.6",
"redux-saga": "^1.0.5",
"victory-native": "^32.0.2"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/runtime": "^7.5.5",
"babel-jest": "^24.8.0",
"jest": "^24.8.0",
"metro-react-native-babel-preset": "^0.55.0",
"react-test-renderer": "16.8.3"
},
"jest": {
"preset": "react-native"
}
}
通过react-native info
命令输出了这样的信息,里边提到的里边提到的ios系统版本貌似是我电脑上安装的模拟器的系统版本