cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi-environment configuration instrumentation. Currently, we are using IOS Cocoapods instrumentation method which we are using a single info.plist file, however we run the same package for Dev, QA and Production.

Multi-environment configuration instrumentation. Currently, we are using IOS Cocoapods instrumentation method which we are using a single info.plist file, however we run the same package for Dev, QA and Production.


2 REPLIES 2

Patrick_H
Dynatrace Champion
Dynatrace Champion


Multiple configurations can only be used with manual startup, but this has the drawback that the agent is started at a later time an you will not capture events happening on application startup until the agent has been started.

For manual startup don't provide the agent configuration keys in the Info.plist file and use the startupWithConfig method documented in the Dynatrace.h file provided with the agent framework in the pod to start with a different configuration for each environment. this should be done as soon as possible during application startup.


iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Hello Patrick,

My customer wants to do the same things like Michael. (using iOS Cocoapods)

Would you please tell me how to do the settings in the Dynatrace.h specifically or the Dynatrace Help URL about that?


Regards,

Hiroshi

Featured Posts