diff options
author | Tobrun <tobrun@mapbox.com> | 2016-01-13 08:58:27 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2016-01-13 13:03:28 +0100 |
commit | 9df48d4e2ce9ec7d969d14d7d28a980e8fbbd8e1 (patch) | |
tree | 5323f69970946052d3c527695212e0effc622808 | |
parent | 61ea751503fea4b214bf68a4c626f5fa3613afbe (diff) | |
download | qtlocation-mapboxgl-9df48d4e2ce9ec7d969d14d7d28a980e8fbbd8e1.tar.gz |
[android] #3514 - update pro guard config
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/proguard-rules.pro | 9 | ||||
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/proguard-rules.pro | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/proguard-rules.pro b/platform/android/MapboxGLAndroidSDK/proguard-rules.pro index c805eee199..85754a75a5 100644 --- a/platform/android/MapboxGLAndroidSDK/proguard-rules.pro +++ b/platform/android/MapboxGLAndroidSDK/proguard-rules.pro @@ -17,3 +17,12 @@ # Package views -keep class com.mapbox.mapboxsdk.views.** { *; } + +# Package layers +-keep class com.mapbox.mapboxsdk.layers.** { *; } + +# Package camera +-keep class com.mapbox.mapboxsdk.camera.** { *; } + +# Gesture package +-keep class almeros.android.multitouch.gesturedetectors.** { *; }
\ No newline at end of file diff --git a/platform/android/MapboxGLAndroidSDKTestApp/proguard-rules.pro b/platform/android/MapboxGLAndroidSDKTestApp/proguard-rules.pro index 43a408f33e..c6445ac6a4 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/proguard-rules.pro +++ b/platform/android/MapboxGLAndroidSDKTestApp/proguard-rules.pro @@ -1,3 +1,8 @@ # Mapbox ProGuard configuration is handled in the SDK --keep class android.support.** { *; }
\ No newline at end of file +-keep class android.support.** { *; } + +-dontwarn retrofit.** +-keep class retrofit.** { *; } +-keepattributes Signature +-keepattributes Exceptions
\ No newline at end of file |