From e93a32958a9763dd7f0274e28aea18211eec3fd1 Mon Sep 17 00:00:00 2001 From: ndesai Date: Thu, 23 Jan 2025 12:14:28 -0600 Subject: [PATCH] docs: android agent release --- .../configure-new-relic-gradle-plugin.mdx | 27 +++++++++++++++++++ .../android-release-notes/android-763.mdx | 21 +++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 src/content/docs/release-notes/mobile-release-notes/android-release-notes/android-763.mdx diff --git a/src/content/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-new-relic-gradle-plugin.mdx b/src/content/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-new-relic-gradle-plugin.mdx index 2a4579927d2..ce97c158f9f 100644 --- a/src/content/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-new-relic-gradle-plugin.mdx +++ b/src/content/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-new-relic-gradle-plugin.mdx @@ -69,6 +69,16 @@ The New Relic Gradle plugin extension allows you to configure the behavior of pl Supported when used with Gradle 7.4 and higher. + + + logInstrumentationEnabled + + Replaces Android Util Log Classes with NewRelic Log Method for log reporting + • Default: true + + Supported when used with Gradle 7.4 and higher. + + @@ -94,6 +104,9 @@ Here are some simple examples showing how to apply plugin configuration options // Exclude sample classes from instrumentation (regexp supported) excludePackageInstrumentation("") + + // Enable log instrumentation + logInstrumentationEnabled true } ``` @@ -153,4 +166,18 @@ Here are some simple examples showing how to apply plugin configuration options } ``` + + + To disable log instrumentation + + ```gradle + newrelic { + // disable log instrumentation + logInstrumentationEnabled false + } + ``` + diff --git a/src/content/docs/release-notes/mobile-release-notes/android-release-notes/android-763.mdx b/src/content/docs/release-notes/mobile-release-notes/android-release-notes/android-763.mdx new file mode 100644 index 00000000000..250a220c9b7 --- /dev/null +++ b/src/content/docs/release-notes/mobile-release-notes/android-release-notes/android-763.mdx @@ -0,0 +1,21 @@ +--- +subject: Android agent +releaseDate: '2025-01-24' +version: 7.6.3 +downloadLink: 'https://download.newrelic.com/android_agent/ant/NewRelic_Android_Agent_7.6.3.zip' +--- + + +## New Features +- Introduced build-time feature flag for LogInstrumentation +- Enhanced logging by including Session Attributes as Log Attributes + +## Bug Fixes +- Resolved missed session events in background reporting feature +- Fixed memory leak related to mobile handled exceptions during network unavailability +- Corrected application crash scenario during agent shutdown + + +## Support statement + +We recommend updating the agent at least every three months. Find specific policies and dates for Android agent support in the [Mobile Monitoring Agents EOL Policy](/docs/mobile-monitoring/new-relic-mobile/get-started/mobile-agents-eol-policy/#android-eol).