summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/proguard-rules.pro
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/proguard-rules.pro')
-rw-r--r--platform/android/MapboxGLAndroidSDK/proguard-rules.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/proguard-rules.pro b/platform/android/MapboxGLAndroidSDK/proguard-rules.pro
index ddd7730ac4..96f7bb95f3 100644
--- a/platform/android/MapboxGLAndroidSDK/proguard-rules.pro
+++ b/platform/android/MapboxGLAndroidSDK/proguard-rules.pro
@@ -1,7 +1,7 @@
# By default, the flags in this file are appended to flags specified
# in ../sdk/tools/proguard/proguard-android.txt,
# contents of this file will be appended into proguard-android.txt
--keepattributes Signature, *Annotation*
+-keepattributes Signature, *Annotation*, EnclosingMethod
# Square okio, ignoring warnings,
# see https://github.com/square/okio/issues/60
@@ -10,7 +10,7 @@
# Gesture package
-keep class almeros.android.multitouch.gesturedetectors.** { *; }
-# Package: annotations
+# Package annotations
-keep class com.mapbox.mapboxsdk.annotations.** { *; }
# Package camera
@@ -25,6 +25,9 @@
# Package maps
-keep class com.mapbox.mapboxsdk.maps.** { *; }
+# Package net
+-keep class com.mapbox.mapboxsdk.net.** { *; }
+
# Package offline
-keep class com.mapbox.mapboxsdk.offline.** { *; }