在回答这个问题后,我得到了标题中的错误: https://stackoverflow.com/questions/66800919/react-native-unhandled-promise-rejection-typeerrornull-is-not-an-object-evaError [TypeError: null is not an object (evaluating 'WebRTCModule.peerConnection
我使用Reactnative开发了一个移动应用程序,这涉及到与web3.js的交互,问题是RN不支持核心Node.js模块,所以我必须安装 npm i --save react-native-cryptonpm i --save react-native-randombytes react-native link react-native-randombytes npm i --save-dev rn-nodeif
我在包含警报应用程序的文件夹中的powershell中输入了以下命令:react-native link react-native-track-playerreact本机链接似乎什么也没做,所以我按照给出的步骤手动链接模块。但是,当我在我的.js组件中包括以下行时:
import TrackPlayer from 'react-native-tr
当应用程序试图查询数据库中的某些数据时,它会显示以下错误。com.facebook.react.common.JavascriptException: TypeError: null is not an object (evaluating 't.forEach/styles';import Icon from '
我对webrtc使用了reactnative,并且我一直得到mediaDevices.enumerateDevices()是null对象。[Unhandled promise rejection: TypeError: null is not an object (evaluating 'WebRTCModule.enumerateDevicescode]:null in performSyncWorkOnRoot
at node_m
我是ReactNative的新手,但我正在尝试使用ImageBackground组件添加一个png作为背景图像。我将png放在我的项目目录下的"assets“文件夹中。当我在我的iPhone上运行带有Expo的应用程序时,我得到这个错误:TypeError: undefined is not an object (evaluating 'asset.scales')TouchableOpacity, Image} from 'react-native</e