我得到這個錯誤陣營原生:沒有重點窗口尺寸集生產
RCTFatalException: Unhandled JS Exception: No dimension set for key windowmh_execute_header Unhandled JS Exception: No dimension set for key window, stack: [email protected]:505
生產。我認爲這是RN的一個問題:https://github.com/facebook/react-native/issues/13758
該線程中的所有解決方案看起來都像是開發環境。有沒有一種方法可以解決這個問題(在上傳新版本之後)?
"dependencies": {
"@yfuks/react-native-action-sheet": "latest",
"bugsnag-react-native": "^2.2.3",
"iap-receipt-validator": "^1.0.6",
"js-uuid": "^0.0.6",
"lodash": "^4.17.4",
"moment": "^2.17.1",
"phoenix": "^1.2.1",
"react": "16.0.0-alpha.6",
"react-native": "0.44.0",
"react-native-animatable": "^1.1.0",
"react-native-aws3": "^0.0.8",
"react-native-code-push": "^2.0.3-beta",
"react-native-collapsible": "^0.8.0",
"react-native-elevated-view": "^0.0.3",
"react-native-firestack": "^2.3.9",
"react-native-flags": "^1.0.0",
"react-native-geocoder": "^0.4.8",
"react-native-image-picker": "^0.26.1",
"react-native-image-resizer": "^0.1.0",
"react-native-in-app-utils": "^5.2.3",
"react-native-incall-manager": "^2.1.0",
"react-native-keep-awake": "^2.0.4",
"react-native-loading-spinner-overlay": "latest",
"react-native-localization": "^0.1.30",
"react-native-modalbox": "^1.3.9",
"react-native-permissions": "^0.2.7",
"react-native-progress": "^3.2.1",
"react-native-push-notification": "^2.2.1",
"react-native-sound": "^0.10.0",
"react-native-spinkit": "^1.0.2",
"react-native-swiper": "^1.5.4",
"react-native-vector-icons": "^4.0.0",
"react-native-webrtc": "^1.57.0",
"react-native-zzy-toast": "^0.1.3",
"react-redux": "^5.0.3",
"redux": "^3.6.0",
"redux-logger": "^2.8.2",
"redux-observable": "^0.14.1",
"redux-persist": "^4.5.0",
"rn-splash-screen": "^4.0.0",
"rxjs": "^5.2.0"
},
嗨@埃德蒙,有同樣的問題,你解決這個問題嗎? – Jeremie
無法修復它......我認爲這是一個原生反應 – Edmund
我在一個新的反應原生項目上有同樣的問題 –