-
-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump to OkHttp 5 #4023
Bump to OkHttp 5 #4023
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
common/src/main/java/io/homeassistant/companion/android/common/data/HomeAssistantApis.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there are new releases on the 5.0 branch again (when the PR was submitted, it had almost been a year since a release), and they put the same note about 'stable except for new APIs' in the docs. I don't see any reason to not accept this PR if it is rebased/updated/building is fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the initiative! Everything seems to be working on various (virtual) devices.
Summary
Use OkHttp5, while alpha it is production quality, but new API are not stable.
But critically it includes support for a simplified form of Happy Eyeballs, avoiding issues on IPv6 networks.
See https://www.reddit.com/r/RedditEng/comments/v1upr8/ipv6_support_on_android/
No offense if this is too soon. Please close the PR if so.
Screenshots
N/A
Link to pull request in Documentation repository
N/A
Any other notes
N/A