Skip to content

Commit 463c70d

Browse files
committed
android: modify proguard rules to not mangle Tailscale app symbols
Updates tailscale/tailscale#14162 Signed-off-by: Brad Fitzpatrick <[email protected]>
1 parent 788bb1d commit 463c70d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

android/proguard-rules.pro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
native <methods>;
44
}
55

6-
# Keep the classes with syspolicy MDM keys, some of which
7-
# get used only by the Go backend.
6+
# Keep Tailcale classes for debuggability, but especially
7+
# keep the classes with syspolicy MDM keys, some of which
8+
# get used only by the Go backend. (The second rule is redundant,
9+
# but explicit.)
10+
-keep class com.tailscale.ipn.** { *; }
811
-keep class com.tailscale.ipn.mdm.** { *; }
912

1013
# Keep specific classes from Tink library

0 commit comments

Comments
 (0)