01 Aug 2024 10:35 AM - last edited on 01 Aug 2024 12:29 PM by MaciejNeumann
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:
Building a version name on the android side looks like this:
Do you have any ideas?
Radek
Solved! Go to Solution.
08 Aug 2024 11:55 AM
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