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

Problem with Android app instrumentation

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi,

I have a problem on my client's environment. We have an orchestrated iOS and Android application. Generally the instrumentation works fine. However, for the default action Loading <application_name> we have a strange behaviour.

In the app configuration we pass the version name there for example: PL-ZT7-883.222.222. For the iOS app the instrumentation works correctly. For Android Dynatrace displays only the last member: e.g. 222. We used grandle instrumentation.

See the following examples:

iOS - okiOS - ok

 

 

Android - problemAndroid - problem

 

 

Building a version name on the android side looks like this:

 

code.png

 

 

 

 

 

ver.png

 

 

 

Do you have any ideas?

Radek

Have a nice day!
1 REPLY 1

paul_schlagitwe
Dynatrace Helper
Dynatrace Helper

Hi,
I see you are using build flavors. Why not try to set the "app_name" in the strings.xml for that specific flavor?
Dynatrace extracts the application name from the AndroidManifest.
The resValue approach does not seem to work properly as it does not replace the value in time and the name does not end up in the AndroidManifest.
I hope overwriting the strings.xml for that specific flavor works for you.

Best regards
Paul

Featured Posts