I just found out that Android's recommended http client HttpUrlConnection
doesn't support HTTP/2.
Is there a specific reason not to use HTTP/2 on Android?
I just found out that Android's recommended http client HttpUrlConnection
doesn't support HTTP/2.
Is there a specific reason not to use HTTP/2 on Android?
You can use OkHttp if you want to take advantage of HTTP/2:
https://github.com/square/okhttp
It's superior to HttpUrlConnection anyway. If you're doing anything at all complicated, like getting complex JSON responses from a web API, I'd recommend Retrofit:
https://square.github.io/retrofit/