Improvements
- Improves overall agent performance.
- Fixes race condition that prevents session start metrics from being logged on app launch.
- Fixes crash in
-setNRSessionAttribute:value:
that can occasionally occur on app background or foreground.
Improvements
- The iOS SDK will now collect an app build identifier when an app crashes, which will be displayed in parentheses beside the version number in the Crash Details page in RPM. This value defaults to the string
CFBundleVersion
that is specified in Xcode build settings. IfCFBundleVersion
is not specified the build identifier will not be displayed. - A new API method
+setApplicationBuild:(NSString*)buildNumber
was added to allow specifying a custom app build identifier, overriding the default value pulled fromCFBundleVersion
.
Fixes
- Corrects an issue with default recorded attributes, ensuring osVersion and carrier attributes are sent properly.
- Prevents out-of-session network requests from being included in activity traces
Fixes
- Fixes a crash in the agent that could occur when using the simulator for iOS 7.1 during testing.
- Resolves a rare crash scenario that may have occurred when the app was sent to the background.
Fixes
- Corrects an issue where Session events may not have been sent to New Relic Insights.
Improvements
Insights for Mobile
This release introduces Insights for New Relic Mobile.
The iOS 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 iOS API documentation includes details on sending custom events and attributes to Insights.
Fixes
- Addresses a compatibility issue that could result in a crash when using Swift 1.2 and Xcode 6.3
Notes
Fixes
- Addresses a potential crash in a rare case when attempting to capture data from a metadata file that is empty.
- Corrects an issue with custom interaction names that may not have been displayed properly.
- Fixes an issue where duplicate data may have been recorded from from NSURLSession.
Notes
Fixes
- Fixes a potential crash in UIImage constructor instrumentation.
Notes
Fixes
- Corrects a potential crash when an instrumented init method releases the self pointer or sets the self pointer to nil before invoking a superclass method.