Skip to content

Commit

Permalink
Merge pull request #13369 from ywang-nr/develop
Browse files Browse the repository at this point in the history
Android agent v7.0.0 release notes & doc updates
  • Loading branch information
homelessbirds authored Jul 10, 2023
2 parents 8c8189b + bf24795 commit e659676
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,22 @@ Make sure your Android app meets these requirements:
<td>
HttpURLConnection, OkHttp2 (except versions 2.0 and 2.4), OkHttp (versions 2.8, 3.5+, 4.0+), OkIO (version 1.11), AndroidHttpClient, Volley (version 1.0.0), and Apache HTTP Client networking APIs

<Callout variant="important">
<Callout variant="important">
AndroidHttpClient was removed from the SDK in version 23, and as such only supported in Android agent version 6.5.0 and lower.
</Callout>

**Android agent version 7.0.0 or higher** requires:

* Android Studio Flamingo
* Gradle 7.1
* Android Gradle plugin 7.0.0
* DexGuard 9.0 and higher

**Android agent version 6.6.0 or higher** requires **Android SDK Tools version 24 or higher**. For Android SDK Tools version 24 or higher, you also need to meet the following requirements:

* Android Studio
* Gradle 5.1.1
* Gradle plugin 3.4
* Android Gradle plugin 3.4
* Proguard 5.0
* DexGuard 8.0 through 9.x

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The New Relic Gradle plugin extension allows you to configure the behavior of pl

<tr>
<td>
`uploadMapsForVariant` (Deprecated)
`uploadMapsForVariant`
</td>

<td>
Expand All @@ -50,7 +50,7 @@ The New Relic Gradle plugin extension allows you to configure the behavior of pl

<tr>
<td>
`excludeVariantInstrumentation` (Deprecated)
`excludeVariantInstrumentation`
</td>

<td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ To add support for [ProGuard](http://proguard.sourceforge.net/manual/usage.html)
-keep class com.newrelic.** { *; }
-dontwarn com.newrelic.**
-keepattributes Exceptions, Signature, InnerClasses, LineNumberTable, SourceFile, EnclosingMethod
##
## NewRelic Gradle plugin 7.x may require the following additions:
##
# Retain generic signatures of TypeToken and its subclasses if [R8 version 3.0 full-mode](https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md#r8-full-mode) is enabled.
-keepattributes Signature
-keep class com.newrelic.com.google.gson.reflect.TypeToken { *; }
-keep class * extends com.newrelic.com.google.gson.reflect.TypeToken
# For using GSON @Expose annotation
-keepattributes *Annotation*
```
3. Clean and rebuild your project.
4. Run your app in an emulator or device to start seeing data on your mobile app's [**Overview** page](/docs/mobile-apps/mobile-apps-dashboard).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,20 @@ The following are the specific policies and dates for support of our mobile moni
<tbody>
<tr>
<td>
[v6.11.1 (last Android agent release)](/docs/release-notes/mobile-release-notes/android-release-notes/)
[v7.0.0 (last Android agent release)](/docs/release-notes/mobile-release-notes/android-release-notes/)
</td>

<td>
Jun 8, 2023
</td>

<td>
Jun 8, 2024
</td>
</tr>
<tr>
<td>
v6.11.1
</td>

<td>
Expand All @@ -250,7 +263,7 @@ The following are the specific policies and dates for support of our mobile moni
</tr>
<tr>
<td>
[v6.11.0]
v6.11.0
</td>

<td>
Expand All @@ -263,7 +276,7 @@ The following are the specific policies and dates for support of our mobile moni
</tr>
<tr>
<td>
[v6.10.0]
v6.10.0
</td>

<td>
Expand All @@ -276,7 +289,7 @@ The following are the specific policies and dates for support of our mobile moni
</tr>
<tr>
<td>
[v6.9.2]
v6.9.2
</td>

<td>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
subject: Android agent
releaseDate: '2023-07-10'
version: 7.0.0
downloadLink: 'https://download.newrelic.com/android_agent/ant/NewRelic_Android_Agent_7.0.0.zip'
---

<Callout variant="important">
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.1. Customers will be required to upgrade to Android Gradle Plugin (AGP) 7.0.0 and higher.
</Callout>

## 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](/docs/release-notes/mobile-release-notes/android-release-notes/android-610).

0 comments on commit e659676

Please sign in to comment.