AppDynamics supports monitoring for hybrid applications based on the iOS/Android native SDK or any Cordova-based framework.
Hybrid Use Cases
Mobile RUM supports these 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:
- Use Android WebViews or iOS WKWebView for hybrid applications with embedded web views. See Cordova アプリケーションのインストゥルメント化.
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
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 Compatibility
Hybrid Application Network Requests