-keep class io.nearpay.sdk.** { *; }

-keep public class io.nearpay.sdk.NearPay
-keepclasseswithmembers public class io.nearpay.sdk.* {
    public *;
}

# AGP 8.0 enables R8 full mode by default - Keep generic signature of Retrofit's 2 Call, Response (R8 full mode strips signatures from non-kept items).
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# With R8 full mode generic signatures are stripped for classes that are not kept. Suspend functions are wrapped in continuations where the type argument is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

# hide the original source file name.
-renamesourcefileattribute SourceFile