From 44bf719274c01723e375da19323cc42359e8f4fb Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 16 Jul 2026 21:15:41 +0300 Subject: [PATCH] Enabled obfuscation and added -keep rules --- app/proguard-rules.pro | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index c3dc6783..ed780849 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -9,11 +9,13 @@ # Add any project specific keep options here: -keepattributes LineNumberTable,SourceFile --dontobfuscate -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} +# Keep classes and members accessed via JNI +-keep class com.tutpro.baresip.Api { + native ; +} + +-keep class com.tutpro.baresip.BaresipService { + native ; + @androidx.annotation.Keep ; +}