Skip to content

Commit 14cb08e

Browse files
committed
publish dimens
1 parent b79359a commit 14cb08e

File tree

1 file changed

+47
-2
lines changed

1 file changed

+47
-2
lines changed

benfitpay-sdk/consumer-rules.pro

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,52 @@
1-
# Keep your entire SDK public API
1+
# ============================
2+
# Keep all SDK classes
3+
# ============================
24
-keep class company.tap.tapcardformkit.** { *; }
35
-keep class company.tap.tapbenefitpay.** { *; }
46
-keep class company.tap.tapnetworkkit.** { *; }
57
-keep class com.tap.** { *; }
6-
-keep class com.github.tap.payments.benefitpay.** { *; }
78
-keep class com.tap.commondatamodels.** { *; }
9+
-keep class com.github.tap.payments.benefitpay.** { *; }
10+
11+
# ============================
12+
# Gson serialization / Retrofit models
13+
# ============================
14+
-keepclassmembers,allowobfuscation class * {
15+
@com.google.gson.annotations.SerializedName <fields>;
16+
}
17+
18+
-keep class retrofit2.** { *; }
19+
-keep class okhttp3.** { *; }
20+
-keep class okio.** { *; }
21+
22+
-dontwarn retrofit2.**
23+
-dontwarn okhttp3.**
24+
-dontwarn okio.**
25+
-dontwarn com.google.gson.**
26+
27+
# ============================
28+
# Kotlin & AndroidX
29+
# ============================
30+
-keep class kotlin.** { *; }
31+
-dontwarn kotlin.**
32+
33+
-keep class androidx.** { *; }
34+
-dontwarn androidx.**
35+
36+
# ============================
37+
# WebView JS Interfaces
38+
# ============================
39+
-keepclassmembers class * {
40+
@android.webkit.JavascriptInterface <methods>;
41+
}
42+
43+
# ============================
44+
# Serializable support
45+
# ============================
46+
-keepclassmembers class * implements java.io.Serializable {
47+
static final long serialVersionUID;
48+
private static final java.io.ObjectStreamField[] serialPersistentFields;
49+
private void writeObject(java.io.ObjectOutputStream);
50+
private void readObject(java.io.ObjectInputStream);
51+
java.lang.Object readResolve();
52+
}

0 commit comments

Comments
 (0)