1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Garmin: Fix proguard rules for release builds

This commit is contained in:
José Rebelo 2024-04-15 22:14:05 +01:00 committed by Daniele Gobbetti
parent 2eb342860a
commit 0d230ce0a5

View File

@ -34,6 +34,12 @@
}
-keepattributes JavascriptInterface
# Keep parseIncoming for GFDIMessage classes, as it is called by reflection in GFDIMessage#parseIncoming
-keep public class * extends nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.messages.GFDIMessage
-keepclassmembers class * extends nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.messages.GFDIMessage {
public static *** parseIncoming(...);
}
# https://github.com/tony19/logback-android/issues/29
-dontwarn javax.mail.**