jhen0409 / jhen0409/react-native-debugger
Network request interceptor breaks apps that use MSW
- Dominant language
- JavaScript
- Stars
- 10.4k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.