Permalink
Cannot retrieve contributors at this time
# This file is just for osmdroid-android and is useful for reusing in your projects | |
# Enables everything from osmdroid to stay in your app using progaurd | |
# keep setters in Views so that animations can still work. | |
# see http://proguard.sourceforge.net/manual/examples.html#beans | |
-keepclassmembers public class * extends android.view.View { | |
void set*(***); | |
*** get*(); | |
} | |
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations | |
-keepclassmembers enum * { | |
public static **[] values(); | |
public static ** valueOf(java.lang.String); | |
} | |
-keepclassmembers class **.R$* { | |
public static <fields>; | |
} | |
# The support library contains references to newer platform versions. | |
# Don't warn about those in case this app is linking against an older | |
# platform version. We know about them, and they are safe. | |
-dontwarn android.support.** | |
-keep class android.database.** {*;} | |
-keep class android.support.** {*;} | |
-keep public class * extends android.app.Activity | |
-keep public class * extends android.app.Application | |
-keep public class * extends android.app.Service | |
-keep public class * extends android.content.BroadcastReceiver | |
##### things that need to be inflated... | |
-keep public class * extends android.view.View { | |
public <init>(android.content.Context); | |
public <init>(android.content.Context, android.util.AttributeSet); | |
public <init>(android.content.Context, android.util.AttributeSet, int); | |
public void set*(...); | |
} | |
-keep class microsoft.mappoint.** {*;} | |
-keep class org.osmdroid.** {*;} | |
-keep class org.metalev.multitouch.controller.** {*;} | |
# https://github.com/osmdroid/osmdroid/issues/633 SDK version 26 | |
-dontwarn org.osmdroid.tileprovider.modules.NetworkAvailabliltyCheck |