Skip to content

Commit 3ec5107

Browse files
committed
docs: add react-native-real-fetch dependency to react native
1 parent 7e5aadc commit 3ec5107

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ This means that you can use the same HTTP API across all runtimes, and it will b
6767
- [Tauri's native HTTP plugin](https://tauri.app/plugin/http-client/) is automatically used when available
6868
- Uses [`undici`](https://github.com/nodejs/undici) on Bun to [prevent strange headers issues](https://github.com/oven-sh/bun/issues/4529#issuecomment-2611447527)
6969
- Provides optional `toXML()` and `toHTML()` helpers in `HttpResponse` for easier access with other packages, see [installation section to enable those](#optional-features)
70+
- Uses a [native implementation of `fetch`](https://github.com/Vexcited/react-native-real-fetch) on React Native
7071

7172
## Installation
7273

@@ -93,10 +94,10 @@ pnpm add schwi
9394

9495
### React Native
9596

96-
In future versions, you'll also have to install a native module to polyfill and provide a more accurate `fetch` implementation.
97-
9897
```bash
99-
pnpm add schwi
98+
# react-native-real-fetch is required to use features that
99+
# are not supported by the default `fetch` implementation in React Native.
100+
pnpm add schwi react-native-real-fetch
100101
```
101102

102103
### Optional Features

0 commit comments

Comments
 (0)