From c2090d8122f4afd9d5ec7f57da7289e0941d52fc Mon Sep 17 00:00:00 2001 From: ericek111 Date: Sun, 11 Oct 2026 18:48:59 +0000 Subject: [PATCH] Keep ini4j's reflectively created constructors in release builds R8 stripped IniParser's no-arg constructor, which ini4j's ServiceFinder instantiates by reflection, so reading identities (myTeamSpeak login, import) crashed the release build. Co-Authored-By: Claude Opus 5.5 --- android/app/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 4176170..69f1635 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -8,3 +8,7 @@ # ts3j builds protocol handlers and packet bodies reflectively. -keep class com.github.manevolent.ts3j.** { *; } + +# ini4j (identity .ini files) instantiates its parsers, builders, formatters +# and escape tools through ServiceFinder, by reflection. +-keepclassmembers class org.ini4j.spi.** { (); }