我刚刚用"react-native init NameProject“创建了应用程序,并且有一个我经常使用的基本目录,所以当我插入它时,我安装了依赖项和链接,这发生在我身上……我已经删除了"node_modules“目录,重新安装,重新-linked,但似乎没有解决这个问题…
截图:

发布于 2021-09-28 09:04:49
不再适用于世博会,请参阅this post。
您应该能够用expo-constants和expo-device替换大多数常见属性。
来源:https://forums.expo.dev/t/nativemodule-rndeviceinfo-is-null/35351
https://stackoverflow.com/questions/57319268
复制相似问题