react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Network request interceptor breaks apps that use MSW

Open lgibso34 opened this issue 2 years ago • 0 comments

React Native Debugger app version: latest React Native version: 0.71.1 Platform: Android Is real device of platform: No, Android simulator Operating System: macOS

MSW source for React Native https://github.com/mswjs/msw/blob/main/src/native/index.ts https://github.com/mswjs/interceptors/tree/main/src/interceptors

Note that MSW for React Native does not spawn a server or add a service worker. It instead intercepts XMLHttpRequest's.

I assume that whatever the network interceptor code for react-native-debugger may do a similar thing and it shows requests as failed in the network tab of chrome and breaks the entire app.

I fully understand if this would fit better as a feature request or if you all won't touch it at all.

lgibso34 avatar Feb 22 '23 01:02 lgibso34