Add r8 rules for HMS SDK (#2217)

This commit is contained in:
Rafał Borcz 2023-05-23 02:16:42 +02:00 committed by GitHub
parent a603c12625
commit aca88b57e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
# General
-dontobfuscate
-ignorewarnings
#Config for wulkanowy
@ -24,3 +25,13 @@
#Config for Material Components
-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.**{*;}