答案 0 :(得分:0)
您可以尝试在您的应用文件夹中运行它:
$ cd ios && pod install
答案 1 :(得分:0)
这个答案帮助了我。
Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager
尝试安装react-native-safe-area-view。
$ yarn add react-native-safe-area-view
然后重新安装吊舱。
$ npx pod-install ios
然后,开始本机反应。
答案 2 :(得分:0)
尝试使用以前或不同版本的 react-native-safe-area-context
。
通过降级到一个次要版本,它对我有用。