我正在尝试使用 react-native callkeep 来显示来电屏幕。但是我收到了上面的错误。有人知道吗?
const options = {
ios: {
appName: 'My app name',
},
android: {
alertTitle: 'Permissions required',
alertDescription: 'This application needs to access your phone accounts',
cancelButton: 'Cancel',
okButton: 'ok',
//imageName: 'phone_account_icon',
//additionalPermissions: [PermissionsAndroid.PERMISSIONS.example]
}
};
RNCallKeep.setup(options).then(accepted => {console.log(accepted)});