pkhien95 / react-native-caller-id

React Native Caller ID module
MIT License
2 stars 9 forks source link

Cannot read property 'getExtensionEnabledStatus' of undefined #1

Open dcenatiempo opened 3 years ago

dcenatiempo commented 3 years ago

I followed install instructions and the package does not seem to be working correctly.

The interesting thing is this error is not from the original CallerId.getExtensionEnabledStatus() but from the catch() error

    CallerId.getExtensionEnabledStatus().then(enabled => {
      return CallerId.setCallerList(callers);
    }).then(res => {
      console.log('setCallerList', res)
    }).catch(err => {
      console.log('err?.message || err);
    });
zoobibackups commented 1 year ago

@dcenatiempo any solution for this