RNScreens 无法在 onHostResume 中初始化虚拟布局

问题描述 投票:0回答:1

react-native 最新版本给出了这个问题

[RNScreens] 无法在 onHostResume 中初始化虚拟布局

package.json

 "dependencies": {
    "@react-native-async-storage/async-storage": "^2.0.0",
    "@react-navigation/native": "^6.1.18",
    "@react-navigation/native-stack": "^6.11.0",
    "@reduxjs/toolkit": "^2.3.0",
    "patch-package": "^8.0.0",
    "postinstall-postinstall": "^2.1.0",
    "react": "18.3.1",
    "react-native": "0.76.0",
    "react-native-contacts": "^8.0.3",
    "react-native-safe-area-context": "^4.11.1",
    "react-native-screens": "^3.34.1",
    "react-redux": "^9.1.2",
    "redux-persist": "^6.0.0"
  }

enter image description here

android react-native react-navigation
1个回答
0
投票

我在 RN 0.75 上发现了同样的问题,禁用无桥接模式对我来说效果很好,如上所述 https://github.com/software-mansion/react-native-screens/issues/2324#issuecomment-2334659956

© www.soinside.com 2019 - 2024. All rights reserved.