Repository navigation
Conversation
Collaborator
|
Hey @ide, thanks for updating the docs! 👍 Will land it as soon as upstream core PR is getting merged, and we have confirmation it would get cherry-picked to 0.89 branch. Also, looks like DSO bot is not happy with lack of commit sign-off, can you fix that? |
Why === react/react-native#60385 lets Android apps use OkHttp 5, starting with React Native 0.89. The Networking page doesn't say how to opt in, or what to do about the OkHttp 4 version of `okhttp-urlconnection` that `react-android` brings in. How === Adds a "Using OkHttp 5 on Android" section to the Networking page, before "Configuring NSURLSession on iOS". It shows how to add OkHttp 5, when to also add `okhttp-urlconnection` at the same version, and how to exclude the OkHttp 4 `okhttp-urlconnection` from `react-android`. Test Plan ========= `npx prettier --check docs/network.md` and `npx eslint docs/network.md` pass. Signed-off-by: James Ide <ide@expo.dev>
ide
force-pushed
the
okhttp5-android-docs
branch
from
December 3, 2026 13:07
64ae021 to
4582250
Compare
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
react/react-native#60385 lets Android apps use OkHttp 5, starting with React Native 0.89. The Networking page doesn't say how to opt in, or what to do about the OkHttp 4 version of
okhttp-urlconnectionthatreact-androidbrings in.How
Adds a "Using OkHttp 5 on Android" section to the Networking page, before "Configuring NSURLSession on iOS". It shows how to add OkHttp 5, when to also add
okhttp-urlconnectionat the same version, and how to exclude the OkHttp 4okhttp-urlconnectionfromreact-android.Test Plan
npx prettier --check docs/network.mdandnpx eslint docs/network.mdpass.