Reactjs 模块RCTDeviceEventEmitter不是已注册的可调用模块(调用emit)
嗨,我有个问题。 我会使用react本机来电显示,但在iphone上运行我的应用程序时会遇到这个问题 “模块RCTDeviceEventEmitter不是已注册的可调用模块(调用emit)” 我还: “找不到模块的cbID 13104和callID 6551的回调”Reactjs 模块RCTDeviceEventEmitter不是已注册的可调用模块(调用emit),reactjs,react-native,Reactjs,React Native,嗨,我有个问题。 我会使用react本机来电显示,但在iphone上运行我的应用程序时会遇到这个问题 “模块RCTDeviceEventEmitter不是已注册的可调用模块(调用emit)” 我还: “找不到模块的cbID 13104和callID 6551的回调” import { Text, View } from 'react-native'; import React, { Component } from 'react'; import CallerId from 'react-nat
import { Text, View } from 'react-native';
import React, { Component } from 'react';
import CallerId from 'react-native-caller-id';
export function fetchAll(){
return async dispatch =>{
try{
const enabled = await CallerId.getExtensionEnabledStatus();
const callers = [
{
name: "A Caller Name",
number: "+xxxxx"
}
];
await CallerId.setCallerList(callers);
}catch(e){
console.error(e)
}
}
}