Skip to content

Commit

Permalink
android: modify proguard rules to not mangle Tailscale app symbols
Browse files Browse the repository at this point in the history
Updates tailscale/tailscale#14162

Signed-off-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
bradfitz committed Nov 21, 2024
1 parent 788bb1d commit 463c70d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions android/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
native <methods>;
}

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

# Keep specific classes from Tink library
Expand Down

0 comments on commit 463c70d

Please sign in to comment.