AppDynamics supports monitoring for hybrid applications based on the iOS/Android native SDK or any Cordova-based framework.
What Are Hybrid Applications?
Hybrid Use Cases
Mobile RUM supports the following two use cases.
- Native Mobile applications that run web applications or web views. Examples of this are Android WebViews and iOS WKWebView.
- Applications written in Cordova-based frameworks, such as Ionic, that provide a native shell for running a web application and an interface for native mobile APIs.
Hybrid Application Instrumentation Requirements
For instrumenting hybrid apps, you are required to do the following:
- Use Android WebViews or iOS WKWebView for hybrid applications with embedded web views.
To monitor your hybrid applications, you will need to set up and access Mobile RUM and follow the steps below based on your hybrid use case:
|Native iOS Application||Native Android Application||Cordova-Based Applications|
How it Works
The diagrams below provide an overview of how Mobile RUM is used to monitor mobile native applications and Cordova-based applications.
|Mobile Native Application Architecture|
You instrument your mobile application with either the Android/iOS Agent.
The Mobile Agent repackages the browser beacons into mobile beacons and sends the beacons to the EUM Server.
|Cordova-Based Application Architecture|
The Mobile Agent parses and converts the browser beacons into mobile beacons.
The Mobile Agent sends the mobile beacons to the EUM Server.
How to Ensure Compatability
Hybrid Application Network Requests