infinitered / reactotron

A desktop app for inspecting your React JS and React Native projects. macOS, Linux, and Windows.
https://docs.infinite.red/reactotron/
MIT License
14.69k stars 935 forks source link

reactotron not showing API traffic for axios 1.6.8 #1480

Open satheeshwaran opened 1 month ago

satheeshwaran commented 1 month ago

Describe the bug

I came across this tool as an alternative to Flipper. I am using the below packages.

"reactotron-react-native": "^5.1.6",
 "reactotron-redux": "^3.1.9",
import Reactotron, { networking } from 'reactotron-react-native';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { reactotronRedux } from 'reactotron-redux';

const reactotron = Reactotron.setAsyncStorageHandler(AsyncStorage)
    .configure({
        name: 'React Native Demo',
    })
    .useReactNative({
        asyncStorage: false, // there are more options to the async storage.
        networking: {
            // optionally, you can turn it off with false.
            ignoreUrls: /symbolicate/,
        },
        editor: false, // there are more options to editor
        errors: { veto: (stackFrame) => false }, // or turn it off with false
        overlay: false, // just turning off overlay
    })
    .use(reactotronRedux())
    .connect();

export default reactotron;

I used the package with axios@0.21.1 and could see network traffic from Axios.

Now I bumped Axios to 1.6.8 and I don't see traffic from Axios calls. However, I see traffic from other SDKs from inside the app.

axios@1.6.8

Screenshot 2024-05-13 at 12 32 18 PM

axios@0.21.1

Screenshot 2024-05-13 at 12 33 08 PM

Reactotron version

3.7.0