Fix
- Resolve a SHA-signed error during build time by disabling JAR signing verification.
- Resolve reported ANRs during event persistance serialization.
- Enhance symbol upload process to improve request error rate and support a pending new upload endpoint.
Support statement
We recommend you to upgrade the agent at least every 3 months. The specific policies and dates for Android agent support of the can be found in the Mobile monitoring agents EOL policy.
New
- Added the ability to persist events when application is force killed.
- Added the ability to store harvest data that previously would be lost if the application doesn't have internet connection. These harvest are then sent after an internet connection is established and the next harvest successfully uploads. This feature is disabled by default, see more details here to enable it.
- Added
setMaxOfflineStorageSize
API to set the maximum amount of data that can be stored locally. - Added support for Unreal platform.
- Added support for Android dynamic features.
Fix
- Fixed an issue that target activity is not captured when calculating app launch time from the start to a target activity rather than the default main activity.
Support statement
We recommend you to upgrade the agent at least every 3 months. The specific policies and dates for Android agent support of the can be found in the Mobile monitoring agents EOL policy.
Fix
- Upgrade the support version of AGP to 8.4
Support statement
We recommend you to upgrade the agent at least every 3 months. The specific policies and dates for Android agent support of the can be found in the Mobile monitoring agents EOL policy.
New
Adds configurable request header instrumentation to network events
The agent will now produce network event attributes for select header values if the headers are detected on the request. The header names to instrument are passed into the agent when started.
For more information, see Adding Tracked Headers in the Mobile Monitoring documentation.
Adds GraphQL attributes to network events
If the agent detects request headers from Apollo GraphQL servers, it will add additional attributes to the network request event.
For more information, see Adding Tracked Headers in the Mobile Monitoring documentation.
Exclude instrumentation by package name
The agent plugin can now be configured to exclude classes from a specific package space during instrumentation. These classes will be unmodified. This feature can be useful when encountering sensitive or problematic class data.
For more information, see Configure the New Relic Gradle plugin.
Fixed
- Exclude signed jars from instrumentation
Support statement
We recommend you to upgrade the agent at least every 3 months. The specific policies and dates for Android agent support of the can be found in the Mobile monitoring agents EOL policy.
Fixed
- Fixed a memory leak when ANRMonitor is enabled.
Support statement
The Android NDK agent version 1.0.3 and above requires Android agent 6.11.0 and higher. Versions 1.0.0 - 1.0.2 are compatible with Android agent 6.10.0 and lower.
We recommend you to upgrade the agent regularly, at least every 3 months.
New
- Adds support for DexGuard 9+ with Gradle 8/AGP 8
- Adds unity support with custom exceptions
- Adds map parameters for both custom and auto HTTP instrumentation to ensure data accuracy
- Decouple map tagging with uploads in plugin to improve the build pipeline by making the tagged map a cachable build artifact
Fixed
- Fix NoClassDefFoundError when using agent v7.0.0 due to uninstrumented signed libraries
- Fix an issue that excludeVariantInstrumention is not accepting camel case variant names
Support statement
We recommend you to upgrade the agent regularly, at least every 3 months.
As of this release, the oldest supported version is 6.3.0.
Fixed
- Fixed java.lang.NoSuchMethodError when using the NDK agent and Android agent version 6.11.0 and higher.
Support statement
The Android NDK agent version 1.0.3 requires Android agent 6.11.0 and higher. Versions 1.0.0 - 1.0.2 are compatible with Android agent 6.10.0 and lower.
We recommend you to upgrade the agent regularly, at least every 3 months.
Importante
Welcome to the New Relic Android agent version 7.0. This major release breaks compatibility with versions of
Gradle 6.x
Android Gradle Plugin (AGP) 4.x
Android agent 7.x is increasing the minimum Gradle version to 7.2. Customers will be required to upgrade to Android Gradle Plugin (AGP) 7.0.0 and higher.
New
- Adds support for Gradle 8.0 and higher
- Adds support for the Android Gradle Plugin 8.0 and higher
- Adds support for Gradle configuration caching
- Adds support for JDK 17 when used with Gradle 8
Support statement
We recommend you to upgrade the agent regularly, at least every 3 months.
As of this release, the oldest supported version is 6.1.0.
Fixed
- Fix an issue where the app crashes when it goes to background after agent shutdown
Support statement
We recommend you to upgrade the agent regularly, at least every 3 months.
As of this release, the oldest supported version is 6.1.0.
Importante
Please note, the Android agent will be increasing the minimum Gradle versions in agent release 6.12.0. Customers will be required to upgrade to Android Gradle Plugin 7.0 or higher.
New
- Add FedRAMP support
Fixed
- Fix an issue of NR_BUILD_ID not appending with default release variant
- Tighten the exception handling of TraceMachine to prevent NullPointerException
Support statement
We recommend you to upgrade the agent regularly, at least every 3 months.
As of this release, the oldest supported version is 6.1.0.
Importante
Please note, the Android agent will be increasing the minimum Gradle versions in agent release 6.12.0. Customers will be required to upgrade to Android Gradle Plugin 7.2 or higher.