I’m adding OneAgent to a new iOS app. I’m trying to add custom actions but DTXAction.enter is nearly always returning nil.
I found this post with a similar issue https://community.dynatrace.com/t5/Real-User-Monitoring/OneAgent-SDK-for-iOS-DTXAction-enter-returns-nil/m-p/186775 that seemed to be caused by the app not having access to the beacon URL. I don’t believe that is the cause.
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.
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.
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?
Thanks,
Oliver