27 May 2024 05:54 AM - last edited on 27 May 2024 08:44 AM by MaciejNeumann
I got few customised actions and some are init successful, but the rest return nil.
I try to catch that with Dynatrace.lastErrorCode() Dynatrace.lastErrorMsg() and found the code is 1 and msg is "Dynatrace OneAgent (iOS) not running"
Can someone please help me out if they got this issue before?
Solved! Go to Solution.
27 May 2024 07:01 AM
The SDK does not seem to be initialized. Ensure the SDK initialized either by auto start or start it manually depending on your preference. Also you can run the OneAgent in DEBUG mode to see what is going on - see https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-i...
27 May 2024 10:08 AM
If agent is not running this can have several reasons:
when logging is enabled on agent it should be more easy to detect why it did not start up - I suggest to enable logging and check the log or ask for help submitting the full log to our support team.