From c0adbf59c366f0b1bdb97772a6879fa593ebccc4 Mon Sep 17 00:00:00 2001 From: Marc Nause Date: Tue, 29 Mar 2022 23:11:35 +0200 Subject: [PATCH] Added rule to keep static members of GattCharacteristic class --- app/proguard-rules.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6af6c8ff1..65ded85a0 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -18,10 +18,14 @@ -keepclassmembers class nodomain.freeyourgadget.gadgetbridge.service.devices.pebble.webview.JSInterface { public *; } -# Required for refection in BangleJSDeviceSupport +# Required for reflection in BangleJSDeviceSupport -keepclassmembers class nodomain.freeyourgadget.gadgetbridge.model.CallSpec { public static *; } +# Required for reflection in method GattCharacteristic.initDebugMap() +-keepclassmembers class nodomain.freeyourgadget.gadgetbridge.service.btle.GattCharacteristic { + public static *; +} -keepattributes JavascriptInterface # https://github.com/tony19/logback-android/issues/29