http icon indicating copy to clipboard operation
http copied to clipboard

cronet_http: depend on org.chromium.net:cronet-api instead

Open kmod-midori opened this issue 3 years ago • 0 comments

The current implementation depends on com.google.android.gms:play-services-cronet, which pulls in the Google Play services. This might be undesirable for apps that do not want to have GMS code in them (and those who mainly target Chinese users and do not have GMS available).

We should depend on Chromium's API package, which will find the relevant dependencies automatically if they are declared. Additional documentations should be provided to the users on how to choose a Cronet provider (similar to https://exoplayer.dev/network-stacks.html#cronet).

kmod-midori avatar Oct 09 '22 07:10 kmod-midori