Firstly - great effort porting this to RN!
I've got twilio client set up and working for desktop web-browsers. I'm using the same server methods and endpoints to make a call from my ios10 device (not the simulator). I've corrected the RN imports as per #23 . I struggled at first because it seems that instead of
Twilio.initWithToken('sometoken');
one needs to use
Twilio.default.initWithToken('sometoken');
(the same for the other methods). However, no matter what I try I cannot manage to make an outbound call (microphone permissions have been enabled). As suggested I run the initWithToken on component mount and add the few listeners. Once I do I get the following errors
__nw_connection_get_connected_socket_block_invoke 1 Connection has no connected handler
but I understand from previous issues that we're to expect some errors filtering through. This does look suspect though...
I then go to
Twilio.default.connect({To: '+somenumber'})
But it fails with.
tsx0x1019e00a8 Temporary failure in sending Request msg INVITE/cseq=11711 (tdta0x1019fec00), will try next server: Operation timed out
I also tried the method I used in browser which has a params object for the server to facilitate the call but no dice.
Any clues on what may be going wrong?
Firstly - great effort porting this to RN!
I've got twilio client set up and working for desktop web-browsers. I'm using the same server methods and endpoints to make a call from my ios10 device (not the simulator). I've corrected the RN imports as per #23 . I struggled at first because it seems that instead of
one needs to use
(the same for the other methods). However, no matter what I try I cannot manage to make an outbound call (microphone permissions have been enabled). As suggested I run the initWithToken on component mount and add the few listeners. Once I do I get the following errors
but I understand from previous issues that we're to expect some errors filtering through. This does look suspect though...
I then go to
But it fails with.
I also tried the method I used in browser which has a params object for the server to facilitate the call but no dice.
Any clues on what may be going wrong?