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

Integrating dynatrace to react-native app

arajanna
Visitor

How to add the Dynatrace application ID's dynamic to the environments such as dev, int, and preprid for the ios config in the dynatrace.config.js file.

1 REPLY 1

islam_zidan
Champion

Hello Arajanna,

when you create the application, you will get the file auto-configured with the application details and endpoint. if you targeting different environments, so it's recommended to create separate applications for each environment. below is a sample of ios configuration part in dynatrace.config.js file:

 

ios : {
config : `
<key>DTXApplicationID</key>
<string>xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx</string>
<key>DTXBeaconURL</key>
<string>https://xxxxxxx.dynatrace.com/mbeacon</string>
<key>DTXLogLevel</key>
<string>ALL</string>
<key>DTXUserOptIn</key>
<false/>
<key>DTXStartupLoadBalancing</key>
<true/>
`
}

 

hope that helps!

Thanks,

Islam

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

Featured Posts