From 673d20dd70b3cf8b8da3b2eedbf9fa27a4394299 Mon Sep 17 00:00:00 2001 From: Cameron Mace Date: Thu, 20 Jul 2017 15:04:09 -0400 Subject: [PATCH] added some new proguard rules --- mapbox/app/proguard-rules.pro | 3 ++- mapbox/libandroid-services/proguard-rules.pro | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mapbox/app/proguard-rules.pro b/mapbox/app/proguard-rules.pro index 35846a67f..49ca91cd8 100644 --- a/mapbox/app/proguard-rules.pro +++ b/mapbox/app/proguard-rules.pro @@ -1 +1,2 @@ --dontwarn com.squareup.okhttp.** \ No newline at end of file +-dontwarn com.squareup.okhttp.** +-dontwarn okio.** \ No newline at end of file diff --git a/mapbox/libandroid-services/proguard-rules.pro b/mapbox/libandroid-services/proguard-rules.pro index 916a587e3..118b4b6ef 100644 --- a/mapbox/libandroid-services/proguard-rules.pro +++ b/mapbox/libandroid-services/proguard-rules.pro @@ -33,6 +33,8 @@ -keep class com.mapbox.services.api.distance.v1.models.** { *; } -keep class com.mapbox.services.api.geocoding.v5.models.** { *; } -keep class com.mapbox.services.api.mapmatching.v5.models.** { *; } +-keep class com.mapbox.services.api.optimizedtrips.v1.models.** { *; } +-keep class com.mapbox.services.api.directionsmatrix.v1.models.** { *; } -keep class com.mapbox.services.commons.geojson.** { *; } -dontwarn javax.annotation.**