Skip to content
Go to file
Cannot retrieve contributors at this time
48 lines (38 sloc) 1.68 KB
# 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
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
# For enumeration classes, see
-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.
-keep class android.database.** {*;}
-keep class** {*;}
-keep public class * extends
-keep public class * extends
-keep public class * extends
-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.** {*;}
# SDK version 26
-dontwarn org.osmdroid.tileprovider.modules.NetworkAvailabliltyCheck