Skip to content

Conversation

riteshshukla04
Copy link
Contributor

Summary:

This upgrades okHttp to latest version (5.x). okHttp 5.x now supports Fast Fallback . So in theory APIs with IPV6 should be bit faster

In my testing with https://httpbin.org/get . It was about ~12% faster. I didnt test it reliably though.

Changelog:

[ANDROID][CHANGED]- Update OKHttp to 5.x

Test Plan:

I would rely on CIs and maestro here.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 23, 2025
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 23, 2025
Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is sadly unlikely to land as is, because the OkHTTP version needs to be bumped on the whole fbsource monorepo

You can update the OkHTTP used in your app if you re-declare the OkHTTP dependency on android/app/build.gradle though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants