<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mobile app instrumentation with obfuscation in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239457#M5786</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;In going to perform the instrumentation of our Mobile App, but, before of that, I would like to have some information about the following topics:&lt;/P&gt;&lt;P&gt;a) If an app is obfuscated (with DexGuard) but not instrumented with Dynatrace, is it possible to add Dynatrace instrumentation in the future? I mean, with a new release of the App (including obfuscation)?&lt;/P&gt;&lt;P&gt;b) Is it possible to have, at the same time, two different versions of the app, one instrumented and the other one not? This would be the scenario:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;App Mobile &lt;STRONG&gt;obfuscated&lt;/STRONG&gt; and &lt;STRONG&gt;not instrumented&lt;/STRONG&gt;, published in the marketplace.&lt;/LI&gt;&lt;LI&gt;App Mobile &lt;STRONG&gt;not obfuscated&lt;/STRONG&gt; but &lt;STRONG&gt;instrumented&lt;/STRONG&gt;, not published in the marketplace. This will be only available internally, but linked to the same PROD environment.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2024 09:58:25 GMT</pubDate>
    <dc:creator>DamianG</dc:creator>
    <dc:date>2024-03-11T09:58:25Z</dc:date>
    <item>
      <title>Mobile app instrumentation with obfuscation</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239457#M5786</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;In going to perform the instrumentation of our Mobile App, but, before of that, I would like to have some information about the following topics:&lt;/P&gt;&lt;P&gt;a) If an app is obfuscated (with DexGuard) but not instrumented with Dynatrace, is it possible to add Dynatrace instrumentation in the future? I mean, with a new release of the App (including obfuscation)?&lt;/P&gt;&lt;P&gt;b) Is it possible to have, at the same time, two different versions of the app, one instrumented and the other one not? This would be the scenario:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;App Mobile &lt;STRONG&gt;obfuscated&lt;/STRONG&gt; and &lt;STRONG&gt;not instrumented&lt;/STRONG&gt;, published in the marketplace.&lt;/LI&gt;&lt;LI&gt;App Mobile &lt;STRONG&gt;not obfuscated&lt;/STRONG&gt; but &lt;STRONG&gt;instrumented&lt;/STRONG&gt;, not published in the marketplace. This will be only available internally, but linked to the same PROD environment.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 09:58:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239457#M5786</guid>
      <dc:creator>DamianG</dc:creator>
      <dc:date>2024-03-11T09:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile app instrumentation with obfuscation</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239459#M5787</link>
      <description>&lt;P&gt;hi!&lt;BR /&gt;Not sure if I fully understand what you want to achieve.&lt;/P&gt;
&lt;P&gt;In general, mobile monitoring with Dynatrace (and also other tools) requires you to add the agent in build-time. So ship the app together with the agent.&amp;nbsp;&lt;SPAN&gt;It's on you to decide if and how you obfuscate your app code. Our monitoring works either way.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Documentation:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications" target="_blank"&gt;https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Deobfuscation is used to make crash stack traces readable to users of Dynatrace. This is an offered feature as many apps are published with obfuscated code. Here, we rely on mapping files you need to upload to your Dynatrace environment. Documentation:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/analyze-and-use/upload-and-manage-symbol-files" target="_blank"&gt;https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/analyze-and-use/upload-and-manage-symbol-files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 10:07:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239459#M5787</guid>
      <dc:creator>paul_kapeller</dc:creator>
      <dc:date>2024-03-11T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile app instrumentation with obfuscation</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239462#M5788</link>
      <description>&lt;P&gt;Hey DamianG,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/52344"&gt;@DamianG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;a) If an app is obfuscated (with DexGuard) but not instrumented with Dynatrace, is it possible to add Dynatrace instrumentation in the future? I mean, with a new release of the App (including obfuscation)?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes. Rules for obfuscation and optimizations are published as part of the AAR file and will be automatically included in the R8/ProGuard/DexGuard obfuscation step.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/52344"&gt;@DamianG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;b) Is it possible to have, at the same time, two different versions of the app, one instrumented and the other one not? This would be the scenario:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;App Mobile &lt;STRONG&gt;obfuscated&lt;/STRONG&gt; and &lt;STRONG&gt;not instrumented&lt;/STRONG&gt;, published in the marketplace.&lt;/LI&gt;&lt;LI&gt;App Mobile &lt;STRONG&gt;not obfuscated&lt;/STRONG&gt; but &lt;STRONG&gt;instrumented&lt;/STRONG&gt;, not published in the marketplace. This will be only available internally, but linked to the same PROD environment.&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, it is possible to have different versions of the application. The Android Gradle plugin allows you to specify different variants for the same application (see &lt;A href="https://developer.android.com/build/build-variants" target="_self"&gt;documentation&lt;/A&gt;), like debug and release. This feature is supported by Dynatrace and it is also possible to deactivate monitoring for specific variants (as described in scenario 1). You find more information about the setup steps on this &lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-plugin/configure-plugin-for-instrumentation" target="_self"&gt;documentation page&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 10:14:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239462#M5788</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2024-03-11T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile app instrumentation with obfuscation</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239463#M5789</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Regarding my&amp;nbsp;&lt;STRONG&gt;a)&lt;/STRONG&gt; question and your reply:do I have to de-obfuscate the Mobile App to add the Dynatrace instrumentation or is it possible with the app obfuscated? Based on the documentation, and from my understanting, I have follow the next steps: deobfustace --&amp;gt; instrument --&amp;gt; obfuscate.&lt;/P&gt;&lt;P&gt;Am I right?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Damián&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 10:30:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239463#M5789</guid>
      <dc:creator>DamianG</dc:creator>
      <dc:date>2024-03-11T10:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile app instrumentation with obfuscation</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239465#M5790</link>
      <description>&lt;P&gt;The Dynatrace Android Gradle plugin modifies the Android build and adds the instrumentation step after the compilation step and before the obfuscation step. Similar to obfuscation, the app will be automatically instrumented everytime you trigger the build.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 11:23:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239465#M5790</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2024-03-11T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile app instrumentation with obfuscation</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239467#M5791</link>
      <description>&lt;P&gt;Thank you for the information!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 11:26:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Mobile-app-instrumentation-with-obfuscation/m-p/239467#M5791</guid>
      <dc:creator>DamianG</dc:creator>
      <dc:date>2024-03-11T11:26:13Z</dc:date>
    </item>
  </channel>
</rss>

