diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index f665b34..85e4401 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -15,3 +15,9 @@ #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} + +#prevents crash while using R8 or proguard +-keepclasseswithmembernames class * { +native ; +} +-keep class androidx.renderscript.** { *; }