forked from osmdroid/osmdroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard_osm_min.txt
71 lines (60 loc) · 2.87 KB
/
proguard_osm_min.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This file is just for osmdroid-android and is useful for reusing in your projects
# Enables just the bare minimum 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.metalev.multitouch.controller.** {*;}
-keep class org.osmdroid.api.IGeoPoint {*;}
-keep class org.osmdroid.api.IMapController {*;}
-keep class org.osmdroid.api.IMapView {*;}
-keep class org.osmdroid.api.IProjection {*;}
-keep class org.osmdroid.events.** {*;}
-keep class org.osmdroid.tileprovider.constants.** {*;}
-keep class org.osmdroid.tileprovider.modules.** {*;}
-keep class org.osmdroid.tileprovider.tilesource.FileBasedTileSource {*;}
-keep class org.osmdroid.tileprovider.tilesource.OnlineTileSourceBase {*;}
-keep class org.osmdroid.tileprovider.tilesource.QuadTreeTileSource {*;}
-keep class org.osmdroid.tileprovider.tilesource.TileSourceFactory {*;}
-keep class org.osmdroid.tileprovider.tilesource.XYTileSource {*;}
-keep class org.osmdroid.tileprovider.util.Counters {*;}
-keep class org.osmdroid.tileprovider.util.ManifestUtil {*;}
-keep class org.osmdroid.tileprovider.util.SimpleInvalidationHandler {*;}
-keep class org.osmdroid.tileprovider.util.SimpleRegisterReceiver {*;}
-keep class org.osmdroid.tileprovider.util.StreamUtils {*;}
-keep class org.osmdroid.tileprovider.* {*;}
-keep class org.osmdroid.util.** {*;}
-keep class org.osmdroid.views.* {*;}
-keep class org.osmdroid.views.utils.** {*;}
-keep class org.osmdroid.views.overlay.gestures.** {*;}
-keep class org.osmdroid.views.overlay.* {*;}
-keep class org.osmdroid.views.overlay.infowindow* {*;}
-keep class org.osmdroid.* {*;}