How To Embed Monitoring in a Mobile App

To add monitoring to a mobile app, you must embed Aternity's monitoring into the app itself, before it is encrypted. This automatically starts reporting a wealth of performance and usage data by default. This article offers an introduction to integrating Aternity's monitoring functionality in a mobile app.

A monitored mobile app is a regular iOS or Android app which has Aternity's monitoring functionality inside, enabling it to report performance statistics like launch times, errors, crashes, network traffic, and also custom activities performance, and some surrounding data on the underlying mobile device and user.

You can embed monitoring in a mobile app in any of the following ways:

Adding a mobile app for monitoring

For more information on adding your app to Aternity to view the performance of custom activities, see Add a Monitored Mobile App as a Managed App to Monitor Custom Activities.

The following table offers a summary of the considerations to choose the best way to embed monitoring in your app.

Tool to embed monitoring OS Speed of implementation Requires developers or access to source code Fine tune monitoring

Aternity iOS Wrapper

iOS

Quick

No

No

Aternity Android Wrapper

Android

Quick

No

No

Aternity iOS Mobile SDK

iOS

Requires re-building the app

Yes

Yes, with API calls

Aternity Android Mobile SDK

Android

Requires re-building the app

For Android apps only, to capture the wait times and usage times to display the UXI, you must also wrap the app.

Yes

Yes, with API calls

Tip

If the mobile device loses its network connection, the app stores performance data for up to 30 minutes, and then reports it when the network connection is restored.