Skip to content

Network request interceptor breaks apps that use MSW #753

Open
@lgibso34

Description

@lgibso34

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions