From 219bc3e1caacff52ee9c4ef0875fcd29c2d98b7c Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Thu, 16 Nov 2023 15:46:04 +0200
Subject: [PATCH] Add proguard rules for com.sun.jna

---
 app/proguard-rules.pro | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index 39d9f8f8b..52860a4af 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -131,3 +131,7 @@ native <methods>;
 
  -dontwarn java.awt.**
  -dontwarn org.slf4j.**
+
+ ###JNA
+ -keep class com.sun.jna.** { *; }
+ -keep class * implements com.sun.jna.** { *; }
-- 
GitLab