Are there examples of how to strip away a top level Kotlin extension function (with default parameter) with proguard? Right now I have the following:
-assumenosideeffects class com.example.package.ExtensionsKt {
public static void myFunction(...);
}
The function is defined as follows:
fun Any.myFunction(param1: String, param2: Throwable? = null) {
...
}
But it does not work sadly, I also tried the following (method signature copied from mapping.txt) which also does not work:
-assumenosideeffects class com.example.package.ExtensionsKt {
public static void myFunction(java.lang.Object,java.lang.String,java.lang.Throwable);
public static void myFunction$default(java.lang.Object,java.lang.String,java.lang.Throwable,int,java.lang.Object);
}