Ferdari Active Member Licensed User Longtime User Mar 5, 2020 #1 Hi everyone, Im intregrating Huawei SDKs into my app, but in the integrations guide they say his SDK need to compile deobfuscated: Before building the APK, configure obfuscation scripts to prevent HUAWEI Analytics Kit from being obfuscated. If obfuscation arises, HUAWEI Analytics Kit may not function properly. The configuration file in Android Studio is proguard-rules.pro, and that in Eclipse is proguard-project.txt. Code: -keep class com.hianalytics.android.**{*;} -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{*;} How to keep them deobfuscated on B4A? @Erel i need your help Thanks in advance. Last edited: Mar 6, 2020
Hi everyone, Im intregrating Huawei SDKs into my app, but in the integrations guide they say his SDK need to compile deobfuscated: Before building the APK, configure obfuscation scripts to prevent HUAWEI Analytics Kit from being obfuscated. If obfuscation arises, HUAWEI Analytics Kit may not function properly. The configuration file in Android Studio is proguard-rules.pro, and that in Eclipse is proguard-project.txt. Code: -keep class com.hianalytics.android.**{*;} -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{*;} How to keep them deobfuscated on B4A? @Erel i need your help Thanks in advance.
DonManfred Expert Licensed User Longtime User Mar 6, 2020 #2 As far as i know B4A does not obfuscate any 3rd Party jar or AAR. Only the generated java source is obfuscated which is based on the Code in your Project. Your B4A Code. Last edited: Mar 6, 2020 Upvote 0
As far as i know B4A does not obfuscate any 3rd Party jar or AAR. Only the generated java source is obfuscated which is based on the Code in your Project. Your B4A Code.
Ferdari Active Member Licensed User Longtime User Mar 6, 2020 #3 DonManfred said: As far as i know B4A does not obfuscate any 3rd Party jar or AAR. Only the generated java source is obfucated which is based on the Code in your Project. Your B4A Code. Click to expand... That is good to know, thanks @DonManfred. Upvote 0
DonManfred said: As far as i know B4A does not obfuscate any 3rd Party jar or AAR. Only the generated java source is obfucated which is based on the Code in your Project. Your B4A Code. Click to expand... That is good to know, thanks @DonManfred.