From 078d94c46b0540ea805f5a7b3edc887edbe28ea2 Mon Sep 17 00:00:00 2001 From: Maximilian Goldschmidt Date: Tue, 6 Aug 2024 21:46:05 +0200 Subject: [PATCH] Fix API obfuscation --- automotive/build.gradle | 4 ++-- automotive/proguard-rules.pro | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 automotive/proguard-rules.pro diff --git a/automotive/build.gradle b/automotive/build.gradle index b99a5cd4..0c640166 100644 --- a/automotive/build.gradle +++ b/automotive/build.gradle @@ -21,8 +21,8 @@ android { defaultConfig { minSdkVersion 29 targetSdkVersion 34 - versionCode 254 - versionName "0.27.0.0046" + versionCode 256 + versionName "0.27.0.0047" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/automotive/proguard-rules.pro b/automotive/proguard-rules.pro new file mode 100644 index 00000000..1ca52f8d --- /dev/null +++ b/automotive/proguard-rules.pro @@ -0,0 +1,5 @@ +-keepclassmembers class com.ixam97.carStatsViewer.liveDataApi.http.HttpDataSet {!transient ;} +-keepclassmembers class com.ixam97.carStatsViewer.database.tripData.DrivingPoint {!transient ;} +-keepclassmembers class com.ixam97.carStatsViewer.database.tripData.ChargingSession {!transient ;} +-keepclassmembers class com.ixam97.carStatsViewer.database.tripData.ChargingPoint {!transient ;} +-keepclassmembers class com.ixam97.carStatsViewer.liveDataApi.abrpLiveData.AbrpDataSet {!transient ;} \ No newline at end of file