-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproguard-rules.pro
More file actions
35 lines (28 loc) · 717 Bytes
/
proguard-rules.pro
File metadata and controls
35 lines (28 loc) · 717 Bytes
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
# ProGuard rules for SoftEtherClient module
# Keep native methods
-keepclasseswithmembernames class * {
native <methods>;
}
# Keep JNI bridge class
-keep class vn.unlimit.softether.client.SoftEtherClient {
native <methods>;
}
# Keep VPN service
-keep class vn.unlimit.softether.SoftEtherVpnService {
public *;
}
# Keep data classes used for serialization
-keep class vn.unlimit.softether.model.** {
*;
}
# Keep exception classes
-keep class vn.unlimit.softether.exception.** extends java.lang.Exception {
*;
}
# Kotlin coroutines
-keepclassmembernames class kotlinx.** {
volatile <fields>;
}
# BouncyCastle (if used)
-keep class org.bouncycastle.** { *; }
-dontwarn org.bouncycastle.**