dimsuz
08/29/2023, 12:14 PMinterface Service {
suspend fun fetch(): Response
}
and then I call service.fetch()
and do not use the response, R8 fully strips out Response class from apk, replaces it with Any and Retrofit + kotlin.serialization complain that no converter/serializer for response are found.
I tried using Retrofit's proguard rules from github's master, but the error is still there.
Does it mean that rules are incomplete? Should I file a bug? I could do a PR, but I'd have to read up on R8/Proguard for this.