# Cordova instumentation fail

**URL:** <https://community.dynatrace.com/t/cordova-instumentation-fail/16738>\
**Category:** Real User Monitoring\
**Tags:** cordova, mobile-monitoring, ios, extensions\
**Created:** [October 31, 2018, 2:10pm UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738 "2018-10-31T14:10:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SjoerdB](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sjoerdb/32/157_2.png) [@SjoerdB](https://community.dynatrace.com/u/SjoerdB)\
**Post date:** [October 31, 2018, 2:10pm UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738/1 "2018-10-31T14:10:54Z")

</div>

Hi,

we configured the Cordova plugin as described in [https://www.dynatrace.com/news/blog/monitor-hybrid…](https://www.dynatrace.com/news/blog/monitor-hybrid-mobile-apps-with-the-cordova-plugin/), 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!

---

<div class="post-metadata">

**Author:** ![matthias\_hochri](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias_hochri/32/15052_2.png) [@matthias\_hochri](https://community.dynatrace.com/u/matthias_hochri)\
**Post date:** [October 31, 2018, 2:18pm UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738/2 "2018-10-31T14:18:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![SjoerdB](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sjoerdb/32/157_2.png) [@SjoerdB](https://community.dynatrace.com/u/SjoerdB)\
**Post date:** [October 31, 2018, 2:29pm UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738/3 "2018-10-31T14:29:01Z")

</div>

Hi [@Matthias H.](https://answers.dynatrace.com/users/16273/view.html), there are no DTX entries in the plist, although the dynatrace.config.xml is indeed in the root directory.

---

<div class="post-metadata">

**Author:** ![SjoerdB](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sjoerdb/32/157_2.png) [@SjoerdB](https://community.dynatrace.com/u/SjoerdB)\
**Post date:** [October 31, 2018, 3:32pm UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738/4 "2018-10-31T15:32:12Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![SjoerdB](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sjoerdb/32/157_2.png) [@SjoerdB](https://community.dynatrace.com/u/SjoerdB)\
**Post date:** [October 31, 2018, 4:12pm UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738/5 "2018-10-31T16:12:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![matthias\_hochri](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias_hochri/32/15052_2.png) [@matthias\_hochri](https://community.dynatrace.com/u/matthias_hochri)\
**Post date:** [November 5, 2018, 7:09am UTC](https://community.dynatrace.com/t/cordova-instumentation-fail/16738/6 "2018-11-05T07:09:22Z")

</div>

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