coil-kt / coil

Image loading for Android and Compose Multiplatform.
https://coil-kt.github.io/coil/
Apache License 2.0
10.86k stars 668 forks source link

Remove Okhttp from coil #1412

Closed hamedsilver closed 2 years ago

hamedsilver commented 2 years ago

Problem adding coil to my project adds okhttp lib to my project which is a third party library and I do not want to add okhttp to it.

Solution Remove okhttp and handle request's in Kotlin .

colinrtwhite commented 2 years ago

OkHttp is pretty core to Coil and is necessary for Coil's network image loading functionality. OkHttp is also exposed in Coil's public API so there'd be no way to remove it without a major version increment, which there are no plans to do at the moment.