add proguard rules (huawei.pro)
This commit is contained in:
parent
97de2ee024
commit
60d9cfc303
|
|
@ -0,0 +1,15 @@
|
|||
# https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/appgallerykit-getting-started-0000001055756858#section1448912915419
|
||||
|
||||
-ignorewarnings
|
||||
-keepattributes *Annotation*
|
||||
-keepattributes Exceptions
|
||||
-keepattributes InnerClasses
|
||||
-keepattributes Signature
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
-keep class com.huawei.hianalytics.**{*;}
|
||||
-keep class com.huawei.updatesdk.**{*;}
|
||||
-keep class com.huawei.hms.**{*;}
|
||||
-keep interface com.huawei.hms.analytics.type.HAEventType{*;}
|
||||
-keep interface com.huawei.hms.analytics.type.HAParamType{*;}
|
||||
-keep class com.huawei.hms.analytics.HiAnalyticsInstance{*;}
|
||||
-keep class com.huawei.hms.analytics.HiAnalytics{*;}
|
||||
Loading…
Reference in New Issue