-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproguard-rules.pro
More file actions
32 lines (24 loc) · 1.08 KB
/
proguard-rules.pro
File metadata and controls
32 lines (24 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# MapConductor Mapbox ProGuard Rules
# Keep line number information for debugging
-keepattributes SourceFile,LineNumberTable
# Keep all public API classes
-keep public class com.mapconductor.mapbox.** { public *; }
# Keep Mapbox specific implementations
-keep class com.mapconductor.mapbox.MapboxMapViewController { *; }
-keep class com.mapconductor.mapbox.MapboxMapView { *; }
# Keep marker, circle, polyline implementations
-keep class com.mapconductor.mapbox.marker.** { *; }
-keep class com.mapconductor.mapbox.circle.** { *; }
-keep class com.mapconductor.mapbox.polyline.** { *; }
-keep class com.mapconductor.mapbox.polygon.** { *; }
# Keep Mapbox SDK classes
-keep class com.mapbox.maps.** { *; }
-keep class com.mapbox.geojson.** { *; }
-keep class com.mapbox.android.** { *; }
# Keep Mapbox style classes
-keep class com.mapbox.maps.extension.style.** { *; }
# Compose integration
-keep class * extends androidx.compose.runtime.** { *; }
# Fix for Java 11+ StringConcatFactory issue
-dontwarn java.lang.invoke.StringConcatFactory
-keep class java.lang.invoke.StringConcatFactory { *; }