After the SIP account register success, I made a SIP call, but the incoming call screen appearing a hang-up button instead of the incoming button.
After checking the , i found this code:
const answerable = call.getState() == "PJSIP_INV_STATE_INCOMING";
return false, original value is call.getState() == PJSIP_INV_STATE_NULL.
For testing, i manually add the answerable = true. after that incoming button is coming, but when i press the answer button the app is crashing.
I checked the log through adb logcat *:S ReactNative:V ReactNativeJS:V command.
after pressing the answer button no log to the console.
Also, top of the header's icons are not showing, getting this error when I click the header button.
undefined is not an object (evaluating '_this$props.tab')
Now, how can I receive the incoming call and fix the UI?
After the SIP account register success, I made a SIP call, but the incoming call screen appearing a hang-up button instead of the incoming button.
After checking the , i found this code:
const answerable = call.getState() == "PJSIP_INV_STATE_INCOMING";
return false, original value is call.getState() == PJSIP_INV_STATE_NULL. For testing, i manually add the answerable = true. after that incoming button is coming, but when i press the answer button the app is crashing.I checked the log through
adb logcat *:S ReactNative:V ReactNativeJS:V
command.after pressing the answer button no log to the console. Also, top of the header's icons are not showing, getting this error when I click the header button.
undefined is not an object (evaluating '_this$props.tab')
Now, how can I receive the incoming call and fix the UI?
Thanks.