Skip to content

Commit

Permalink
fix: revert back changes from 1.3.1 release (#12)
Browse files Browse the repository at this point in the history
* fix: revert back changes from 1.3.1 release

* fix: unitywebrequest fix and offline storage functionality
  • Loading branch information
ndesai-newrelic committed Mar 7, 2024
1 parent 7fc0184 commit a284e49
Show file tree
Hide file tree
Showing 11 changed files with 575 additions and 488 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@

## 1.3.3

- Offline Harvesting Feature: Preserves harvest data during internet downtime, sending stored data once online.

- setMaxOfflineStorageSize API: Allows setting a maximum limit for local data storage.

- Upgraded native iOS Agent to 7.4.9: Offers performance upgrades and bug fixes.

- Upgraded native Android Agent to 7.3.0: Improves stability and adds enhanced features.

- UnityWebRequest Instrumentation Update: Fixes issue with replacement of constrained dispose calls, streamlining app building.

## 1.3.2

- Resolved an issue in the Unity editor where an "assembly not found" error occurred for the New Relic native integration on Windows, Mac, and web platforms.
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This agent utilizes the native New Relic Android and iOS agents to instrument Un
* Pass user information to New Relic to track user sessions
* Scene Navigation as Interactions
* Capture Native C++ Errors
* offline monitoring of events and exceptions

## Current Support:
- Android API 24+ (AGP 7 and Higher)
Expand Down Expand Up @@ -87,7 +88,7 @@ android {
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
// See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
// To specify a custom Gradle version in Unity, go to "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
classpath 'com.newrelic.agent.android:agent-gradle-plugin:7.2.0'
classpath 'com.newrelic.agent.android:agent-gradle-plugin:7.3.0'
**BUILD_SCRIPT_DEPS**
}
}
Expand Down Expand Up @@ -255,6 +256,13 @@ See the examples below, and for more detail, see [New Relic IOS SDK doc](https:/
NewRelicAgent.setMaxEventPoolSize(2000);
```

### [setMaxOfflineStorageSize](https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile/mobile-sdk/set-max-offline-storage/)(uint megabytes): void;
> Sets the maximum size of total data that can be stored for offline storage.By default, mobile monitoring can collect a maximum of 100 megaBytes of offline storage. When a data payload fails to send because the device doesn't have an internet connection, it can be stored in the file system until an internet connection has been made. After a typical harvest payload has been successfully sent, all offline data is sent to New Relic and cleared from storage.
```C#
NewRelicAgent.setMaxOfflineStorageSize(200);
```




## How to see C# Errors(Fatal/Non Fatal) in NewRelic One?
Expand Down
4 changes: 2 additions & 2 deletions com.newrelic.agent/Editor/TestUnityDependencies.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<dependencies>
<androidPackages>
<androidPackage spec="com.newrelic.agent.android:agent-ndk:1.+"></androidPackage>
<androidPackage spec="com.newrelic.agent.android:android-agent:7.2.0">
<androidPackage spec="com.newrelic.agent.android:android-agent:7.3.0">
</androidPackage>
</androidPackages>
<iosPods>
<iosPod name="NewRelicAgent" version="~> 7.4.8" minTargetSdk="11.0">
<iosPod name="NewRelicAgent" version="~> 7.4.9" minTargetSdk="11.0">
<sources>
<source>https://github.com/CocoaPods/Specs</source>
</sources>
Expand Down
Loading

0 comments on commit a284e49

Please sign in to comment.