Manual use IncomingCallView get Cannot read property 'dispatch' of undefined

Hi,

Below are my code, when i run it i got error “Cannot read property ‘dispatch’ of undefined”, can i know what’s the issue as i not familiar with react.

IncomingCallView iview = new IncomingCallView(incoming.this);
IncomingCallInfo info = new IncomingCallInfo(“test”,“https://i.stack.imgur.com/4TJXX.png”,false);
iview.setIncomingCallInfo(info);