cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto-instrumenting an Android app for UEM, Obsfucated apk.

alejandro_herna
Organizer

We are trying to use auto-instrumentation to instrument the Android UEM, they use obsfucation when creating the apk file with proguard:
-proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
Would this cause any problem with the auto-instrumentation, would it work?

2 REPLIES 2

Thomas_Wirth1
Dynatrace Pro
Dynatrace Pro

Hey Alejandro,

Yes, you have to exclude some parts from obfuscation and optimization. Regarding your other question, you have to exclude the OkHttp3 library from obfuscating. You find the details in the documentation.

When you enrich your mobile user experience data via the OneAgent SDK for Mobile, then you also have to exclude the OneAgent library from obfuscating. This step is not needed, when you use the latest agent (version 7.1).

Than you @Thomas W.