• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Android agent release notesRSS

May 1, 2015
Android agent v5.0.0

Improvements

Insights for Mobile

This release introduces Insights for New Relic Mobile.

The Android SDK now automatically records Session, Interaction, and Crash events in New Relic Insights. After upgrading to this release, you will be able to build queries and dashboards in Insights with the new Mobile event type. All events include attributes reflecting session and unique install identifiers, device, OS, geography, duration and other data. See the Insights documentation for a description of Mobile attributes and Insights usage details.

Custom events

In addition to the standard events available in Insights, you can now record custom events. Custom events have a name and set of key:value attributes, perfect for capturing usage, monetization, and custom performance data. Custom events are also available in Insights. See the Mobile Custom Event documentation for details.

Custom attributes

In addition to event-specific attributes, this release provides support for install-scoped attributes. An attribute recorded in the app will be attached to every Session, Interaction, Crash, and Custom event reported from that instance of the app. Custom attributes are perfect for tracking durable information like account id, campaign origin, subscription level, etc. See the Mobile Custom Attribute documentation for details.

The Android API documentation includes details on sending custom events and attributes to Insights.

April 8, 2015
Android agent v4.273.4

Fixes

  • Addresses an issue that could cause a null pointer exception when an empty response body was received using older versions of the Retrofit library
  • Corrects a potential ConcurrentModificationException during instrumentation when a large number of HTTP requests was made

March 4, 2015
Android agent v4.265.0

Improvements

  • This release adds instrumentation for versions 2.1+ of Square's OkHttp library. 1.x versions continue to be supported.
  • This release also adds support for the Retrofit (1.8+) and Picasso (2.4+) libraries from Square.

Notes

February 19, 2015
Android agent v4.244.0

Improvements

  • A custom application version can now be set using the new method NewRelic.withApplicationVersion(String appVersion)
  • Added the method NewRelic.recordMetric(String name, String category) to allow recording a custom metric with just a name and category, the value defaulted to 1. 

Notes

  • This release supports Android 2.2+. Future releases will require 2.3+.

February 5, 2015
Android agent v4.190.0

Improvements

  • Improved instrumentation of the OkHttp library v1.6 to include support for OkURLFactory

Notes

  • This will be the last release of the Android SDK to support Android 2.2. Future versions will require 2.3+.

January 8, 2015
Android agent v4.178.0

Fixes

  • Addresses an issue that may have caused an upgraded application to continue reporting the older version of the application to New Relic.
  • Corrects a potential RuntimeException when the HEAD method was used in an HTTP request.
  • Resolves an IllegalArgumentException that could have occurred in the edge case where the start or end time of an HTTP transaction was invalid.

November 21, 2014
Android agent v4.120.0

Improvements

  • You can now disable the capture of the HTTP response body for requests by calling NewRelic.disableFeature(FeatureFlag.HttpResponseBodyCapture).
  • You can now disable crash reporting by calling NewRelic.disableFeature(FeatureFlag.CrashReporting).
  • The SDK was updated to accept the HTTP method in NewRelic.noticeHttpTransaction() and NewRelic.noticeNetworkFailure() allowing more detailed information to be collected.

Fixes

  • Resolves an issue related to recording a URL that could have potentially resulted in a Null Pointer Exception.

October 29, 2014
Android agent v4.98.0

Fixes

  • Resolves a crash in InputStream instrumentation when chunked transfer encoding is used.
  • Custom interaction names, when specified, are now used in Crash interaction history trails.

October 22, 2014
Android agent v4.95.0

Fixes

  • Corrects an issue where the agent may crash under certain concurrent access of instrumented InputStream implementations.
  • Corrects an issue where a thread pool was not properly getting destroyed upon application background-to-foreground transitions.

October 8, 2014
Android agent v4.87.0

Improvements

  • Crash Reporting
    • This release introduces crash reporting for mobile apps. Crash reporting supports capture and reporting of unhandled Java runtime exceptions.
    • Crashes include interaction trails: a history of automatically instrumented actions that occurred during the app session leading up to the crashing event. No breadcrumbs needed.
    • The SDK includes a NewRelic.crashNow() method to trigger a test crash quickly and easily.
    • You can also disable crash reporting via the runtime API.
    • When building an app with Proguard enabled, the Proguard mapping file is sent to New Relic to automatically provide human readable crash reports in the UI.
  • Session improvements
    • The SDK now more consistently records MobileSession events in Insights when users use various app switchers on Android 4.x.

Fixes

  • Improve reported traffic accuracy
    • Corrects an issue where the SDK could continue to report an app as active when it had entered the background. This fix will reduce the traffic reported for an app to more accurately reflect actual usage.
  • Improve thread naming accuracy
    • Corrects an issue where the SDK reported some metrics with an incorrect display name. This fix will more accurately reflect thread breakdown data in interactions.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.