# Mobile applications: Issues with mobile RUM

**URL:** <https://community.dynatrace.com/t/mobile-applications-issues-with-mobile-rum/43695>\
**Category:** Troubleshooting\
**Tags:** real-user-monitoring-classic, mobile-monitoring\
**Created:** [January 22, 2024, 7:00am UTC](https://community.dynatrace.com/t/mobile-applications-issues-with-mobile-rum/43695 "2024-01-22T07:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maliborskaya](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@maliborskaya](https://community.dynatrace.com/u/maliborskaya)\
**Post date:** [January 22, 2024, 7:00am UTC](https://community.dynatrace.com/t/mobile-applications-issues-with-mobile-rum/43695/1 "2024-01-22T07:00:00Z")

</div>

## General Troubleshooting

If you’ve encountered an issue related to mobile application monitoring, first ensure the following:

- Your technology is supported by Dynatrace. See&nbsp;[Technology support | Mobile app Real User Monitoring](https://docs.dynatrace.com/docs/shortlink/section-technology-support#mobile-rum).
- You’re using the supported version of the OneAgent SDK or Dynatrace Android Gradle plugin. See the table under&nbsp;[How long are versions supported following rollout?](https://docs.dynatrace.com/docs/shortlink/release-notes#support-timeframe).
- The issue that you’re experiencing is not related to any of the currently known limitations. Check one of the following pages:
  - [Dynatrace Android Gradle plugin | Instrumentation-specific limitations](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-overview#instrumentation-limitations)
  - [Dynatrace Android Gradle plugin | Build-specific limitations](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-overview#build-limitations)
  - [OneAgent for iOS | Known limitations](https://docs.dynatrace.com/docs/shortlink/ios-instrumentation#limitations)
  - [Instrument SwiftUI controls | Known limitations](https://docs.dynatrace.com/docs/shortlink/swiftui-instrumentation#limitations)
  - [Dynatrace Cordova Plugin | Troubleshooting and current restrictions](https://www.npmjs.com/package/@dynatrace/cordova-plugin#troubleshooting-and-current-restrictions)
  - [Dynatrace Flutter Plugin | Known issues](https://pub.dev/packages/dynatrace_flutter_plugin#issues)
  - [Dynatrace React Native Plugin | Troubleshooting and applicable restrictions](https://www.npmjs.com/package/@dynatrace/react-native-plugin#troubleshooting-and-applicable-restrictions)

- You’ve enabled logging and checked the logs to see what went wrong. See the information below on debug logging for the following technologies and operating systems. You might also need to provide the logs if you decide to contact Dynatrace Support.
  - [Android](https://docs.dynatrace.com/docs/shortlink/android-logging-oneagent)
  - [iOS](https://docs.dynatrace.com/docs/shortlink/ios-logging)
  - SwiftUI:&nbsp;You can find the log file of the most recent build at&nbsp;`dynatrace_instrumented/current/instrumentation.log`. Log files of previous builds are located in time-stamped archives under&nbsp;`dynatrace_instrumented`.
  - [Cordova](https://www.npmjs.com/package/@dynatrace/cordova-plugin#native-oneagent-debug-logs)
  - [Flutter](https://pub.dev/packages/dynatrace_flutter_plugin#agentDebugLogs)
  - [React Native](https://www.npmjs.com/package/@dynatrace/react-native-plugin#native-oneagent-debug-logs)
  - [Xamarin](https://docs.dynatrace.com/docs/shortlink/xamarin#agent-debug-logs)
  - [.NET MAUI](https://docs.dynatrace.com/docs/shortlink/maui#agent-debug-logs)

- The other monitoring tools that you use are compatible with Dynatrace. See the related information for&nbsp;[Android](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-overview#compatibility-monitoring-tools)&nbsp;or&nbsp;[iOS](https://docs.dynatrace.com/docs/shortlink/ios-instrumentation#limitations).

## Specific issues

To troubleshoot specific issues, check one of the sections below.

### Why is OneAgent not sending monitoring data for my mobile application?

You might have to adjust the application or server infrastructure to allow OneAgent to reach Dynatrace. Explore&nbsp;[Adjust communication with OneAgent SDK for Android](https://docs.dynatrace.com/docs/shortlink/oneagent-sdk-android-communication)&nbsp;or&nbsp;[OneAgent for iOS advanced configuration](https://docs.dynatrace.com/docs/shortlink/ios-advanced-settings)&nbsp;for more information.

The following list contains some problems that you might experience.

- Verify that you used the correct application identification keys:&nbsp;`applicationId`&nbsp;and&nbsp;`beaconUrl`. These are provided in the mobile instrumentation wizard for&nbsp;[Android](https://docs.dynatrace.com/docs/shortlink/android-get-started#instrumentation-wizard)&nbsp;or&nbsp;[iOS](https://docs.dynatrace.com/docs/shortlink/ios-instrumentation#instrumentation-wizard)&nbsp;in Dynatrace.
  - For standard Android projects, the application identification keys are located in the top-level build file. See&nbsp;[Instrument your application via Dynatrace Android Gradle plugin](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-first-steps)&nbsp;for the example.
  - For iOS projects, the application identification keys are stored in the&nbsp;[`Info.plist`&nbsp;file](https://docs.dynatrace.com/docs/shortlink/info-plist-file).

- Ensure that you adapted&nbsp;[Network Security Configuration](https://docs.dynatrace.com/docs/shortlink/oneagent-sdk-android-communication#network-security-configuration)&nbsp;correctly. You should include system CA certificates.
- Check if Dynatrace is reachable from within your company network.

### Why is OneAgent not sending monitoring data for my hybrid application?

You might have missed one of the configuration steps described in&nbsp;[Instrument hybrid apps](https://docs.dynatrace.com/docs/shortlink/instrument-hybrid-app).

### Why is my reported action name, value, or web request URL truncated?

OneAgent truncates such reported values when they exceed 250 characters.

### Why are some of my web requests missing?

Dynatrace automatically instruments most web requests. However, you have to manually instrument web requests in certain cases. Check the information on web request monitoring for&nbsp;[OneAgent SDK for Android](https://docs.dynatrace.com/docs/shortlink/oneagent-sdk-for-android#web-request-monitoring),&nbsp;[Dynatrace Android Gradle plugin](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-monitoring#web-requests), or&nbsp;[OneAgent SDK for iOS](https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#measure-web-requests).

For the Dynatrace Android Gradle plugin, web requests might be missing when you&nbsp;[use the Firebase plugin](https://community.dynatrace.com/topic/234748).

### Why are web requests not associated with a given user action?

OneAgent only attaches web requests to a user action triggered within a specific timeframe. The timeframe starts when the action opens and ends&nbsp;`500`&nbsp;ms after the action closes. You can change this value with the&nbsp;[`timeout`&nbsp;property](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-monitoring#timeout-and-maxDuration-properties)&nbsp;for Android or with the&nbsp;[`DTXAutoActionTimeoutMilliseconds`&nbsp;configuration key](https://docs.dynatrace.com/docs/shortlink/ios-configuration-keys#user-actions)&nbsp;for iOS.

### Why are some of my user action names incorrect?

To construct user action names, OneAgent captures the control title from different attributes/fields, so make sure that you pass the correct values to these attributes/fields. For details, see the information on user action naming for&nbsp;[Android](https://docs.dynatrace.com/docs/shortlink/dynatrace-android-gradle-plugin-monitoring#user-action-naming),&nbsp;[iOS](https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#user-action-naming), or our&nbsp;[React Native plugin](https://docs.dynatrace.com/docs/shortlink/react-native#user-action-naming).

You can also define user action naming rules to change the automatically generated names to a predefined name. See&nbsp;[Create custom user action names for mobile applications](https://docs.dynatrace.com/docs/shortlink/naming-rules-mobile).

## Technology-specific troubleshooting

For issues specific to your technology or operating system, check one of the following pages:

- [Mobile applications: General issues with Dynatrace Android Gradle plugin](https://community.dynatrace.com/topic/234748)
- [Mobile applications: Build issues with Dynatrace Android Gradle plugin](https://community.dynatrace.com/topic/234750)
- [Mobile applications: Issues with SwiftUI instrumentation](https://community.dynatrace.com/topic/234747)
- [Dynatrace Cordova Plugin | Troubleshooting and current restrictions](https://www.npmjs.com/package/@dynatrace/cordova-plugin#troubleshooting-and-current-restrictions)
- [Dynatrace Flutter Plugin | Troubleshooting](https://pub.dev/packages/dynatrace_flutter_plugin#troubleshooting)
- [Dynatrace React Native Plugin | Troubleshooting](https://www.npmjs.com/package/@dynatrace/react-native-plugin#troubleshooting)
- [Mobile applications: Issues with Dynatrace Xamarin NuGet package](https://community.dynatrace.com/topic/232204)
- [Mobile applications: Issues with Dynatrace .NET MAUI NuGet package](https://community.dynatrace.com/topic/232196)

If you can’t resolve an issue with your [mobile application](https://docs.dynatrace.com/docs/shortlink/mobile-applications-landing), please contact a Dynatrace product expert via live chat within your Dynatrace environment.
