运行iOS 12.0.1的首次启动iPad上的React-native Ios黑屏

时间:2018-10-24 17:45:16

标签: ios react-native

运行iOS 12.0.1的首次启动iPad上的本机iOS黑屏。 关闭应用程序并重新启动后,它会正常显示。 这仅在物理设备上发生,我无法在Xcode模拟器上重现(它可以正确运行)。

这是正在运行的应用程序:https://photos.app.goo.gl/ecwwuYGkh5QRHzU17

正在使用的库

{
    "name": "flightech",
    "version": "0.0.1",
    "private": true,
    "scripts": {
        "start": "node node_modules/react-native/local-cli/cli.js start",
        "test": "jest",
        "build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/flightech/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'"
    },
    "dependencies": {
        "moment": "^2.22.2",
        "native-base": "^2.7.1",
        "react": "16.4.1",
        "react-native": "0.56.0",
        "react-native-background-fetch": "^2.4.3",
        "react-native-image-picker": "^0.26.10",
        "react-native-modal-datetime-picker": "^6.0.0",
        "react-native-onesignal": "^3.2.6",
        "react-native-push-notification": "^3.0.2",
        "react-native-router-flux": "^4.0.0-beta.31",
        "react-native-tab-view": "^1.0.2",
        "react-native-vector-icons": "^4.6.0",
        "socket.io-client": "^2.1.1"
    },
    "devDependencies": {
        "babel-jest": "23.4.0",
        "babel-preset-react-native": "^5",
        "jest": "23.4.1",
        "react-test-renderer": "16.4.1"
    },
    "jest": {
        "preset": "react-native"
    }
}

0 个答案:

没有答案