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

Cordova instumentation fail

SjoerdB
Advisor

Hi,

we configured the Cordova plugin as described in https://www.dynatrace.com/news/blog/monitor-hybrid..., but during startup of the app on the iPad, we get the following message on the xcode-console:

"INFO Session [Dynatrace.m:133-771-1] Agent path not configured, auto-instrumentation not enabled until startupWithApplicationName is called"

No data is coming in into Dynatrace...

Is it something obvious that we overlooked?

Thanks!

Dynatrace Certified Professional
5 REPLIES 5

matthias_hochri
Dynatrace Pro
Dynatrace Pro

I would say that "Agent path not configured" means that there is no valid configuration. After cordova build ios, how does the your plist file look like? Does it contain some DTX.. properties?


SjoerdB
Advisor

Hi @Matthias H., there are no DTX entries in the plist, although the dynatrace.config.xml is indeed in the root directory.


Dynatrace Certified Professional

SjoerdB
Advisor

Renaming dynatrace.config.xml to dynatrace.config, fixed this issue.

Now we are working to get around the "ERROR Internal navigation rejected - <allow-navigation> not set for url='uem:%23%23DTXiOSAgent%23%23'"

But, looks hopeful...


Dynatrace Certified Professional

SjoerdB
Advisor

OK, this now works, after setting allow-navigation to "uem:*" and updating the dynatrace endpoint to https instead of http.

Now we got another issue left, that the web-application doesn't show actions, although the mobile-app now works 🙂

Stopping this thread now.


Dynatrace Certified Professional

matthias_hochri
Dynatrace Pro
Dynatrace Pro

Sorry for the late answer, there was a holiday here in Austria. I am glad that you fixed the issue with the configuration.


Featured Posts