From e7a14a63637b076579b1d10adfb2dfaf88f115a8 Mon Sep 17 00:00:00 2001 From: ndesai Date: Fri, 31 May 2024 10:46:27 -0500 Subject: [PATCH] feat:added backgroundReporting and NewEventSystem Configuration --- CHANGELOG.md | 12 ++++++++++++ README.md | 5 +++++ package.json | 2 +- plugin.xml | 12 +++++++++--- src/ios/NewRelicCordovaPlugin.m | 8 ++++++++ 5 files changed, 35 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25e4b81..595802a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +# 6.2.10 + +* Improvements + +The native iOS Agent has been updated to version 7.4.12, bringing performance enhancements and bug fixes. + +* New Features + +A new backgroundReportingEnabled feature flag has been introduced to enable background reporting functionality. +A new newEventSystemEnabled feature flag has been added to enable the new event system. + + # 6.2.9 * A crash issue in the iOS app has been resolved when the Cordova agent receives responses in the form of blobs or array buffers. * The native iOS agent has been updated to version 7.4.11, which brings performance enhancements and bug fixes. diff --git a/README.md b/README.md index f0b1188..997684d 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,11 @@ Currently, the plugin supports the following agent configuration options: * Possible values are `true` and `false`. Defaults to `false`. * `OFFLINE_STORAGE_ENABLED`: Enable or disable offline data storage when no internet connection is available. . * Possible values are `true` and `false`. Defaults to `true`. +* `NEW_EVENT_SYSTEM_ENABLED`: Enable or disable to use our new, more stable, event system for iOS agent. + * Possible values are `true` and `false`. Defaults to `true`. +* `BACKGROUND_REPORTING_ENABLED`: Enable or disable Background Events Reporting when the app is in the background. + * Possible values are `true` and `false`. Defaults to `false`. + # Updating the plugin Update the New Relic Cordova plugin to the latest released version easily via the following command: ``` diff --git a/package.json b/package.json index 289f715..a7b8e35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newrelic-cordova-plugin", - "version": "6.2.9", + "version": "6.2.10", "description": "New Relic Cordova Plugin for iOS and Android", "repo": "https://github.com/newrelic/newrelic-cordova-plugin/", "scripts": { diff --git a/plugin.xml b/plugin.xml index 994d3ff..83e433b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -6,7 +6,7 @@ + id="newrelic-cordova-plugin" version="6.2.10"> NewRelic New Relic Cordova Plugin for iOS and Android New Relic @@ -31,7 +31,8 @@ - + + @@ -56,6 +57,8 @@ + + @@ -73,7 +76,7 @@ - + @@ -113,6 +116,9 @@ + + +