[英]React Native "RNCSafeAreaView" was not found in the UIManager
update version of this module by typing following command in terminal:通过在终端中键入以下命令来更新此模块的版本:
npm install react-native-safe-area-context@1.0.2 npm install react-native-safe-area-context@1.0.2
it will solve this problem它将解决这个问题
Had the same issue.有同样的问题。 The issue was that react-native-safe-area-view docs assumed that Autolinking is supported by the
react-native-safe-area-context
library when its clearly not.问题是react-native-safe-area-view 文档假定
react-native-safe-area-context
库支持自动链接,但显然不支持。 Had to link manually by running on cli react-native link react-native-safe-area-context
as the official react-native-safe-area-context docs point out.正如官方react-native-safe-area-context 文档指出的那样,必须通过在 cli
react-native link react-native-safe-area-context
上运行来手动react-native link react-native-safe-area-context
。
For more reference the libraries official docs:更多参考图书馆官方文档:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.