Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
osmdroid/proguard_osm.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
48 lines (38 sloc)
1.68 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |