Troubleshooting
June 6, 2026 · View on GitHub
-
No native client available / silent fallback
- On first run or in dev, JS may fall back to the built-in fetch when native isn’t available yet. Rebuild the app after installing dependencies.
-
Prefetch error: "missing prefetchKey"
- Provide
headers: { prefetchKey: '...' }orinit.prefetchKeywhen callingprefetch()and when consuming viafetch().
- Provide
-
Cronet provider details
- The library logs available Cronet providers and prefers the "Native" provider. Check Android logs for provider name/version during init.
-
Streaming / cancellation
- Both are supported. Pass
{ stream: true }to get aReadableStreambody, and useAbortControllerto cancel. For request timeouts, pair anAbortControllerwith a timer.
- Both are supported. Pass
-
WebSockets
- Supported via the companion package
react-native-nitro-websockets(installreact-native-nitro-text-decoderalongside it).
- Supported via the companion package