I am currently developing a React Native application. After testing everything on a simulator, I decided to run our application on a physical ios device.
When I try to connect to our API (fetch), I get the following error (infinite repetition every time I try to connect):
nw_connection_get_connected_socket 12 The connection does not have a connected handler 2018-02-19 21: 28: 59.652134 + 0100 myApp [12063: 4504022] TCP Conn 0x1c016b100 Error: error 0:61 [61]
The strange thing: if I turn on Remote JS Debugging on my device, that is no problem. I think it works because it uses the connection of my laptop.
Any help would be appreciated.
source
share