From 53393f1af6648744899c43e2adf1552644082a2e Mon Sep 17 00:00:00 2001 From: Adrian Cojocaru Date: Thu, 5 Jun 2025 14:27:28 +0300 Subject: [PATCH] Add missing proguard rules (#3529) Co-authored-by: Bart Louwers --- platform/android/CHANGELOG.md | 6 ++++++ platform/android/MapLibreAndroid/proguard-rules.pro | 2 ++ platform/android/VERSION | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/platform/android/CHANGELOG.md b/platform/android/CHANGELOG.md index ab2faccd1..5cf2d5a29 100644 --- a/platform/android/CHANGELOG.md +++ b/platform/android/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog MapLibre Native for Android +## 11.10.1 + +### 🐞 Bug fixes + +- Add missing proguard rules ([#3529](https://github.com/maplibre/maplibre-native/pull/3529)). + ## 11.10.0 ### ✨ Features and improvements diff --git a/platform/android/MapLibreAndroid/proguard-rules.pro b/platform/android/MapLibreAndroid/proguard-rules.pro index 18beeaa2f..61a739a86 100644 --- a/platform/android/MapLibreAndroid/proguard-rules.pro +++ b/platform/android/MapLibreAndroid/proguard-rules.pro @@ -10,6 +10,8 @@ -keep class com.google.gson.JsonPrimitive { *; } -dontnote com.google.gson.** -keep enum org.maplibre.android.tile.TileOperation +-keep class org.maplibre.android.maps.RenderingStats { *; } +-keep class org.maplibre.android.maps.NativeMapOptions { *; } -keepclassmembers class * extends java.lang.Enum { ; public static **[] values(); diff --git a/platform/android/VERSION b/platform/android/VERSION index 933dbb1df..46577f54f 100644 --- a/platform/android/VERSION +++ b/platform/android/VERSION @@ -1 +1 @@ -11.10.0 +11.10.1