firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

OkHttp v2 has been deprecated since 2016 (6+ years now)

Open valeriyo opened this issue 3 years ago • 3 comments

Latest Firestore directly depends on OkHttp v2 (see https://github.com/firebase/firebase-android-sdk/search?q=com.squareup.okhttp%3Aokhttp)

com.google.firebase:firebase-firestore -> 24.2.1
+--- com.squareup.okhttp:okhttp:2.7.5

Since the release of OkHttp v3 (https://square.github.io/okhttp/changelogs/changelog_3x/#version-300-rc1) the v2 has been deprecated - and that happened in January of 2016, over 6 years ago.

Are you guys asleep at the wheel?

image

valeriyo avatar Jul 25 '22 23:07 valeriyo

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Jul 25 '22 23:07 google-oss-bot

Hi @valeriyo, thanks for reporting this. I did some checking, and it looks like this might have something to do with the conflict on grpc. But I'll let our engineers know and see what we can do here.

argzdev avatar Jul 26 '22 10:07 argzdev

I am looking to remove this dependency, and update gRPC to a newer version.

tom-andersen avatar Aug 05 '22 14:08 tom-andersen

I have updated the OkHttp dependencies, and this should be available in an upcoming release. I think I just missed the window for current release.

tom-andersen avatar Aug 26 '22 18:08 tom-andersen

okhttp has been removed from firestore in this week's release (24.3.1)

thatfiredev avatar Sep 16 '22 13:09 thatfiredev