Android suspend functions

Hello Community:

 I am creating a library submodule to be used in couple of android apps.

 Currently I am struggling with suspend functions

interface A {
suspend fun testFunction(someParam: List): List

after applying proguard I am getting something like:

interface A {
public Object testFunction(someParam:List, arg2:Continuation<List>)

how I can avoid this and have a kotlin ready code

Hi @darienalvarez,

Welcome to PG community.

Can you try adding the following keep options?

-keepattributes Signature
-keep class kotlin.coroutines.Continuation

Please let me know if this resolves the issue.