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

Commit

Permalink
Updated proguard-rule files to cut down on proguard messages (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Langston Smith authored Sep 17, 2019
1 parent a7ae741 commit 3040849
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
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

0 comments on commit 3040849

Please sign in to comment.