This repository was archived by the owner on Oct 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 7
7
# Retain generic type information for use by reflection by converters and adapters.
8
8
-keepattributes *Annotation*,Signature
9
9
10
-
11
10
# Retain declared checked exceptions for use by a Proxy instance.
12
11
-keepattributes Exceptions
13
12
106
105
<init>(...);
107
106
}
108
107
108
+
109
109
-keep class * implements android.arch.lifecycle.LifecycleObserver {
110
110
<init>(...);
111
111
}
112
112
-keepclassmembers class android.arch.** { *; }
113
113
-keep class android.arch.** { *; }
114
114
-dontwarn android.arch.**
115
115
116
- # Mapbox Telemetry
117
- -keep com.mapbox.android.telemetry.**
118
- -keep com.mapbox.android.core.location.**
116
+ # Mapbox
117
+ -keep class com.mapbox.android.telemetry.**
118
+ -keep class com.mapbox.android.core.location.**
119
+ -keep class android.arch.lifecycle.** { *; }
120
+ -keep class com.mapbox.android.core.location.** { *; }
121
+ -keep class com.mapbox.mapboxsdk.** { *; }
119
122
120
123
# Other Android
121
124
-dontnote android.net.http.*
122
125
-dontnote org.apache.commons.codec.**
123
126
-dontnote org.apache.http.**
124
127
125
- -keep com.google.firebase.**
128
+
129
+ -keep class com.google.firebase.**
126
130
-dontwarn org.xmlpull.v1.**
127
131
-dontnote org.xmlpull.v1.**
128
132
-keep class org.xmlpull.** { *; }
Original file line number Diff line number Diff line change 68
68
# MAS data models that will be serialized/deserialized over Gson
69
69
-keep class com.mapbox.services.api.directionsmatrix.v1.models.** { *; }
70
70
71
+ -keep class android.arch.lifecycle.** { *; }
72
+ -keep class com.mapbox.android.core.location.** { *; }
73
+ -keep class com.mapbox.mapboxsdk.** { *; }
74
+
71
75
-dontnote com.squareup.**
72
76
73
77
# --- OkHttp ---
86
90
-dontwarn com.mapbox.api.staticmap.v1.models.StaticMarkerAnnotation
87
91
-dontwarn com.mapbox.api.staticmap.v1.models.StaticPolylineAnnotation
88
92
93
+ # Mapbox
94
+ -keep class com.mapbox.android.telemetry.**
95
+ -keep class com.mapbox.android.core.location.**
96
+ -keep class android.arch.lifecycle.** { *; }
97
+ -keep class com.mapbox.android.core.location.** { *; }
98
+ -keep class com.mapbox.mapboxsdk.** { *; }
89
99
90
100
# Other Android
101
+ -keep public class com.google.firebase.** { public *; }
102
+ -keep class com.google.firebase.** { *; }
91
103
-dontnote android.net.http.*
92
104
-dontnote org.apache.commons.codec.**
93
105
-dontnote org.apache.http.**
You can’t perform that action at this time.
0 commit comments