<?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 Re: OneAgent for iOS - DTXAxtion returning nil in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258828#M6311</link>
    <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;After going through a process of enabled the logs, changing the log level, adding my own logging, and getting inconsistent results in the process, I arrived at it seemingly working correctly. I'm 90% I didn't actually change anything meaningful.&lt;BR /&gt;&lt;BR /&gt;One thing I will share is I did get a log export for a time when it failed, and there did not seem to be anything from Dynatrace in it.&lt;BR /&gt;&lt;BR /&gt;In the log below, there was a bunch of output from&amp;nbsp;&lt;SPAN&gt;DTXAutoInstrument. Then one log from me right before attempting to create DTXAction followed immediately my log when the result was null. Then a bunch of output from DTXSwapper.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":recycling_symbol:"&gt;♻️&lt;/span&gt; Lifecycle [Agent-DTXAutoInstrument.m:16-259-main] viewDidAppear_DTX: =&amp;gt; calling receiver:&amp;lt;0x1028e6600, _TtGC7SwiftUI32NavigationStackHostingControllerVS_7AnyView_&amp;gt; super_class:UIViewController action:viewDidAppear:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":recycling_symbol:"&gt;♻️&lt;/span&gt; Lifecycle [Agent-DTXAutoInstrument.m:16-259-main] otherViews_BLOCK -&amp;gt; exited hookedClass:UIViewController hookedSelectorName:viewDidAppear: viewLifecycle:3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DTXAction Timer.Homepage.HomepageLoad.FullyLoaded&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DTXAction Timer.Homepage.HomepageLoad.FullyLoaded was nil:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":fishing_pole:"&gt;🎣&lt;/span&gt; Hooks [Agent-DTXSwapper.m:16-259-main] demangling: &lt;/SPAN&gt;&lt;SPAN&gt;_TtC4NukeP33_27F0B4BA90823100ED6CA18C21E1B9DD11_DataLoader&lt;/SPAN&gt;&lt;SPAN&gt; =&amp;gt; Nuke._DataLoader&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":fishing_pole:"&gt;🎣&lt;/span&gt; Hooks [Agent-DTXSwapper.m:16-259-main] generics name cleanup: &lt;/SPAN&gt;&lt;SPAN&gt;Nuke._DataLoader&lt;/SPAN&gt;&lt;SPAN&gt; =&amp;gt; Nuke._DataLoader&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 10 Oct 2024 13:27:12 GMT</pubDate>
    <dc:creator>OliverBrownNext</dc:creator>
    <dc:date>2024-10-10T13:27:12Z</dc:date>
    <item>
      <title>OneAgent for iOS - DTXAxtion returning nil</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258810#M6306</link>
      <description>&lt;P&gt;I'm adding OneAgent to a new iOS app. I'm trying to add custom actions but DTXAction.enter is&lt;EM&gt; nearly&lt;/EM&gt; always returning nil.&lt;BR /&gt;&lt;BR /&gt;I found this post with a similar issue&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-SDK-for-iOS-DTXAction-enter-returns-nil/m-p/186775" target="_blank"&gt;https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-SDK-for-iOS-DTXAction-enter-returns-nil/m-p/186775&lt;/A&gt;&amp;nbsp;that seemed to be caused by the app not having access to the beacon URL. I don't believe that is the cause.&lt;BR /&gt;&lt;BR /&gt;As far as I can see the privacy options are set up to be permissive, and I can see the sessions in the session browser, albeit mostly without my custom action.&lt;BR /&gt;&lt;BR /&gt;The bit that most confuses me is a few times I've seen the action isn't nil, and I do see a few sessions with the events.&lt;BR /&gt;&lt;BR /&gt;I tried getting the result of Dynatrace.lastErrorMsg() but it is always nil. Is there any other way of finding out what, if any, error is happening to cause this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Oliver&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 11:06:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258810#M6306</guid>
      <dc:creator>OliverBrownNext</dc:creator>
      <dc:date>2024-10-10T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent for iOS - DTXAxtion returning nil</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258819#M6309</link>
      <description>&lt;P&gt;Can you turn on logging and share the app logs? See&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ios-logging" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/ios-logging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 12:11:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258819#M6309</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-10-10T12:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent for iOS - DTXAxtion returning nil</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258828#M6311</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;After going through a process of enabled the logs, changing the log level, adding my own logging, and getting inconsistent results in the process, I arrived at it seemingly working correctly. I'm 90% I didn't actually change anything meaningful.&lt;BR /&gt;&lt;BR /&gt;One thing I will share is I did get a log export for a time when it failed, and there did not seem to be anything from Dynatrace in it.&lt;BR /&gt;&lt;BR /&gt;In the log below, there was a bunch of output from&amp;nbsp;&lt;SPAN&gt;DTXAutoInstrument. Then one log from me right before attempting to create DTXAction followed immediately my log when the result was null. Then a bunch of output from DTXSwapper.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":recycling_symbol:"&gt;♻️&lt;/span&gt; Lifecycle [Agent-DTXAutoInstrument.m:16-259-main] viewDidAppear_DTX: =&amp;gt; calling receiver:&amp;lt;0x1028e6600, _TtGC7SwiftUI32NavigationStackHostingControllerVS_7AnyView_&amp;gt; super_class:UIViewController action:viewDidAppear:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":recycling_symbol:"&gt;♻️&lt;/span&gt; Lifecycle [Agent-DTXAutoInstrument.m:16-259-main] otherViews_BLOCK -&amp;gt; exited hookedClass:UIViewController hookedSelectorName:viewDidAppear: viewLifecycle:3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DTXAction Timer.Homepage.HomepageLoad.FullyLoaded&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DTXAction Timer.Homepage.HomepageLoad.FullyLoaded was nil:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":fishing_pole:"&gt;🎣&lt;/span&gt; Hooks [Agent-DTXSwapper.m:16-259-main] demangling: &lt;/SPAN&gt;&lt;SPAN&gt;_TtC4NukeP33_27F0B4BA90823100ED6CA18C21E1B9DD11_DataLoader&lt;/SPAN&gt;&lt;SPAN&gt; =&amp;gt; Nuke._DataLoader&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":asterisk:"&gt;*️⃣&lt;/span&gt; ALL &lt;span class="lia-unicode-emoji" title=":fishing_pole:"&gt;🎣&lt;/span&gt; Hooks [Agent-DTXSwapper.m:16-259-main] generics name cleanup: &lt;/SPAN&gt;&lt;SPAN&gt;Nuke._DataLoader&lt;/SPAN&gt;&lt;SPAN&gt; =&amp;gt; Nuke._DataLoader&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Oct 2024 13:27:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/258828#M6311</guid>
      <dc:creator>OliverBrownNext</dc:creator>
      <dc:date>2024-10-10T13:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: OneAgent for iOS - DTXAxtion returning nil</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/259056#M6313</link>
      <description>&lt;P&gt;It's hard to diagnose the issue with just a fraction of the log. If you still have an issue please raise a support ticket and provide the full log when the issue happens.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 05:44:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-for-iOS-DTXAxtion-returning-nil/m-p/259056#M6313</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2024-10-14T05:44:11Z</dc:date>
    </item>
  </channel>
</rss>

