Proguard / proguard.rules for EstimeSDK

Hi,
I’m using Estimote’s SDK for Android. My app works perfectly in debug mode. In release mode (when proguard rules are applied i.e. ‘minifiedEnabled’ parameter in gradle is set to ‘true’) the SDK can neither discover the beacon name nor its color. Beacons are discovered but no specific information about them is available.

I’ve already looked for proguard info here:


http://developer.estimote.com/

Could you provide a sample proguard-rules.pro file for Estimote SDK? Prefarably on developer.estimote.com and your github account?

Bartosz

As a temporary fix I used the following rules:

-keep class com.estimote.sdk.** { *; }
-keep interface com.estimote.sdk.** { *; }
-dontwarn com.estimote.sdk.**