forked from github/wulkanowy-mirror
Add r8 rules for HMS SDK (#2217)
This commit is contained in:
parent
a603c12625
commit
aca88b57e0
11
app/proguard-rules.pro
vendored
11
app/proguard-rules.pro
vendored
@ -1,5 +1,6 @@
|
|||||||
# General
|
# General
|
||||||
-dontobfuscate
|
-dontobfuscate
|
||||||
|
-ignorewarnings
|
||||||
|
|
||||||
|
|
||||||
#Config for wulkanowy
|
#Config for wulkanowy
|
||||||
@ -24,3 +25,13 @@
|
|||||||
|
|
||||||
#Config for Material Components
|
#Config for Material Components
|
||||||
-keep class com.google.android.material.tabs.** { *; }
|
-keep class com.google.android.material.tabs.** { *; }
|
||||||
|
|
||||||
|
#Config for HMS SDK
|
||||||
|
-keepattributes *Annotation*
|
||||||
|
-keepattributes Exceptions
|
||||||
|
-keepattributes InnerClasses
|
||||||
|
-keepattributes Signature
|
||||||
|
-keep class com.huawei.agconnect.**{*;}
|
||||||
|
-keep class com.huawei.hianalytics.**{*;}
|
||||||
|
-keep class com.huawei.updatesdk.**{*;}
|
||||||
|
-keep class com.huawei.hms.**{*;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user