https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Sowmya V

01/11/2020, 2:42 AM
Hi, I have updated my app to use retrofit with coroutines i.e. suspend function. The debug build works fine but the release apk (minifyEnabled = true) does not work at all. The api request is not initiated. Has anyone faced this issue?
i

itnoles

01/11/2020, 5:37 AM
Proguard issues?
s

Sowmya V

01/11/2020, 6:06 AM
Maybe but what exactly is the issue? I don't see any logs of help. Has no one faced this issue?
d

Dico

01/11/2020, 6:15 AM
Proguard is far from a perfect tool. One area where it fails is handling service providers at all. I guess there are some default configuration rules applied by android ecosystem to keep most of these.
You may be running into some ServiceNotFoundException
s

Sowmya V

01/11/2020, 6:39 AM
Thanks for the suggestion, will try checking for this exception
4 Views