Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Proguard adjustments #1174

Merged
merged 1 commit into from
Sep 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Updated proguard-rule files to cut down on proguard messages
  • Loading branch information
langsmith authored and Langston Smith committed Sep 17, 2019
commit 09b7f6b1d3be755649086ab9cc3930cae08e8c41
6 changes: 4 additions & 2 deletions MapboxAndroidDemo/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,16 @@
-keep class com.mapbox.android.core.location.**
-keep class android.arch.lifecycle.** { *; }
-keep class com.mapbox.android.core.location.** { *; }
-keep class com.mapbox.mapboxsdk.** { *; }
-dontnote class com.mapbox.mapboxsdk.** { *; }
-dontnote class com.mapbox.android.gestures.** { *; }
-dontnote class com.mapbox.mapboxsdk.plugins.** { *; }

# Other Android
-dontnote android.net.http.*
-dontnote org.apache.commons.codec.**
-dontnote org.apache.http.**


-dontnote com.google.**
-keep class com.google.firebase.**
-dontwarn org.xmlpull.v1.**
-dontnote org.xmlpull.v1.**
Expand Down
6 changes: 5 additions & 1 deletion MapboxAndroidWearDemo/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,15 @@
-keep class com.mapbox.android.core.location.**
-keep class android.arch.lifecycle.** { *; }
-keep class com.mapbox.android.core.location.** { *; }
-keep class com.mapbox.mapboxsdk.** { *; }
-dontnote class com.mapbox.mapboxsdk.** { *; }
-dontnote class com.mapbox.android.gestures.** { *; }
-dontnote class com.mapbox.mapboxsdk.plugins.** { *; }

# Other Android
-keep public class com.google.firebase.** { public *; }
-keep class com.google.firebase.** { *; }
-dontnote com.google.firebase.**
-dontnote com.google.android.gms.internal.**
-dontnote android.net.http.*
-dontnote org.apache.commons.codec.**
-dontnote org.apache.http.**
Expand Down