# Add project specific ProGuard rules here. -keepattributes SourceFile,LineNumberTable # sherpa-onnx's Kotlin API is invoked from the native libraries through JNI, so # nothing in that package may be renamed or removed. -keep class com.k2fsa.sherpa.onnx.** { *; } -keepclasseswithmembernames class * { native ; } # Custom views are instantiated by the layout inflater via reflection. -keep public class * extends android.view.View { public (android.content.Context); public (android.content.Context, android.util.AttributeSet); public (android.content.Context, android.util.AttributeSet, int); }