Violation: requireNativeComponent: “RNCSafeAreaProvider” was not found in the UIManager error

在引入react-navigation-stack后,运行ios项目时报错 Violation: requireNativeComponent: “RNCSafeAreaProvider” was not found in the UIManager error
在项目下运行

yarn add react-native-safe-area-view
npx pod-install ios

即解决

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐