12 Feb 2020 05:50 PM
Hello,
When deploying the cordova plugin, you need to create a second (web) application containing the user actions. This means the original defined application is only used as a place holder? Or is advised to also deploy a native agent? How about app crashes I assume this also needs a native agent?
KR Henk
Solved! Go to Solution.
12 Feb 2020 09:51 PM
I’m not familiar with cordova plugin enaugh to answer about first part of this question, but to have crashes indeed you need native plugin. Web one will only collect JS errors that are right before crash (if there is any). Stack trace of crash can be collected only by native agent.
Sebastian
12 Feb 2020 10:59 PM
Hi Henk,
From my understanding, there are two applications to be created for a Cordova-based mobile application. The primary application is for the native container of the mobile application, which provides insight such as application crashes on native level.
while the secondary application is for the capture of user actions in the web view of the mobile application.
https://www.dynatrace.com/news/blog/monitor-hybrid-mobile-apps-with-the-cordova-plugin/
Sia
12 Feb 2020 11:37 PM
Ok so question was about dynatrace application 🙂 neurons failed me today. You are totally right 🙂
Sebastian
13 Feb 2020 04:38 AM
Hi Sia, Sebastian,
Thanks for your replies,KR Henk
13 Feb 2020 08:37 AM
Additionally the Mobile Agent provides device information about the mobile device. It also depends how your application is structured. Sometimes Cordova application use native web request frameworks. In this case you would need the Mobile Agent as well. As stated by the others main use case is native crashes and application startup.
13 Feb 2020 09:16 AM
Hello Matthias,
I was hoping to see at least the application startup, but even that is not the case. So nothing in the native dashboards,,,
KR Henk
13 Feb 2020 09:24 AM
No Native information at all means there is a problem with configuration. Try to open a support case where we have a detailed look into this problem.