Open lawhorkl opened 3 years ago
Hi @lawhorkl, behind the scenes the package makes use of this intercepter in react-native https://github.com/facebook/react-native/blob/master/Libraries/Network/XHRInterceptor.js
From what I can tell this interceptor doesn't support other protocols and I can't see any others in the react-native project. Open to any suggestions if you can work out how it could be done though!
thanks for the quick response.
trying to figure out how to capture packets in general in react native for a SIP based application. If I find anything that could be of use I will post it here
Hello, @alexbrazier. Based on your answer below, I assume Websocket (sw/ssw) requests also can't be viewed by the lib, right?
Hi @t1gor, as far as I can tell react native doesn't expose anything that would allow this library to intercept sockets either.
I've downloaded and used this package and I've verified that it works for HTTP requests but I'm curious as to whether this also captures network requests from other protocols like SIP?