You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, many thanks to @DigitalBrainJS for adding the fetch adapter!
There's one thing that I noticed while trying the latest release v1.7.0-beta.0, It seems to be breaking my react native app. I've added the following packages and followed the instructions to add the required polyfills
Unfortunately, that didn't seem to help. Not sure if there's a workaround or a way to avoid using ReadableStreamer at least for RN since it doesn't seem to be supported natively from my understanding. As pointed out under the Motivation section:
The text was updated successfully, but these errors were encountered:
turkonjavladimir
changed the title
fetch adapter Streaming request bodies is not supported - react native
fetch adapter: Streaming request bodies is not supported [react-native]
Apr 30, 2024
Describe the bug
Hello,
First of all, many thanks to @DigitalBrainJS for adding the fetch adapter!
There's one thing that I noticed while trying the latest release v1.7.0-beta.0, It seems to be breaking my react native app. I've added the following packages and followed the instructions to add the required polyfills
https://github.com/react-native-community/fetch?tab=readme-ov-file
https://github.com/acostalima/react-native-polyfill-globals
Unfortunately, that didn't seem to help. Not sure if there's a workaround or a way to avoid using
ReadableStreamer
at least for RN since it doesn't seem to be supported natively from my understanding. As pointed out under the Motivation section:For reference, here's a screenshot of the error running on an iOS simulator on iOS 17.0
To Reproduce
Spin up a new RN project
yarn add axios@next
Install the required polyfills from:
https://github.com/react-native-community/fetch?tab=readme-ov-file
https://github.com/acostalima/react-native-polyfill-globals
Run the app
Code snippet
No response
Expected behavior
No response
Axios Version
1.7.0-beta.0
Adapter Version
fetch
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
iOS 17.0
Additional Library Versions
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: