Network monitoring / filter out requests
Is your feature request related to a problem? Please describe.
RocketSim does work incredibly well with React Native. The only downside is: React Native does load the code from a server (usually under http://localhost:8081)
Most actions within an app on the simulator will trigger an HTTP request which does create a lot of noise and makes it difficult to find genuine API requests.
Describe the solution you'd like It would be amazing to have a filter out request option. Current search allows to filter for specific requests but you can't exclude requests from the list (negative filter from what's there right now).
Ideally it could be a default filter / easily selectable filter (just to avoid having to type it every time)
Describe alternatives you've considered The best workaround I can find is to filter for my backend API domain which is not ideal of course when you're also using third party APIs (running on several domains).
Additional context N/A
@paolotremadio thanks a lot for writing this up! I'm not experienced with React Native, but: are all RN projects working the same?
As in: I'd rather solve this for everyone automatically by detecting a React Native project and filtering out localhost requests. What do you think?
React Native projects are made by two parts: javascript code and native code. In production builds the two are combined. In dev/simulator builds React Native ships only the native code while the javascript side is loaded/reloaded on the fly from a webserver/code bundler (called Metro). The default port is 8081 but it can be changed. It would be amazing to have an option in the settings to completely disable any requests to that port.
I would not filter all requests to localhost because some people might be running local-dev APIs on their machine
Understood, I'll see what I can do!