Skip to content

Polyfills is blocking the axios requests #492

@vinamrahalgar

Description

@vinamrahalgar

After adding the streaming polyfills (import 'react-native-polyfill-globals/auto') at the app’s root level (index.js) to enable ReadableStream support for Hermes, the Axios login API and all other Axios network calls fail with a network error, as if Axios is blocked.

Package versions -
"react-native-fetch-api": "^3.0.0",
"react-native-polyfill-globals": "^3.1.0",
"axios": "1.7.7",
"react-native": "0.74.1",

How to fix this issue?

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