From 7a7fb52769bfea9a0c19af72e07a6395f517d5e2 Mon Sep 17 00:00:00 2001
From: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com>
Date: Fri, 27 Sep 2024 12:21:10 -0500
Subject: [PATCH] GitHub namespace issue (#47)
* fix:iOS namespace issue #45
* fix: added missing info.plist file in iOS bindings
---
.../NewRelic.MAUI.Plugin.csproj | 4 ++--
.../Android/NewRelicMethodsImplementation.cs | 4 +++-
.../iOS/NewRelicMethodsImplementation.cs | 3 ++-
.../NewRelic.MAUI.iOS.Binding.csproj | 2 +-
.../ios-arm64/NewRelic.framework/Info.plist | Bin 787 -> 749 bytes
.../NewRelic.framework/Info.plist | Bin 769 -> 729 bytes
6 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/NewRelic.MAUI.Plugin/NewRelic.MAUI.Plugin.csproj b/NewRelic.MAUI.Plugin/NewRelic.MAUI.Plugin.csproj
index ee5cfa2..3514df6 100644
--- a/NewRelic.MAUI.Plugin/NewRelic.MAUI.Plugin.csproj
+++ b/NewRelic.MAUI.Plugin/NewRelic.MAUI.Plugin.csproj
@@ -8,7 +8,7 @@
true
enable
NewRelic.MAUI.Plugin
- 1.1.2
+ 1.1.3
New Relic Plugin for .NET MAUI mobile apps
With the New Relic .NET MAUI mobile plugin, your team can monitor the performance of .NET MAUI apps and identify code errors. The plugin collects crash data, network traffic, and other information for your apps using native components.
New Relic
@@ -35,6 +35,6 @@
-
+
\ No newline at end of file
diff --git a/NewRelic.MAUI.Plugin/Platforms/Android/NewRelicMethodsImplementation.cs b/NewRelic.MAUI.Plugin/Platforms/Android/NewRelicMethodsImplementation.cs
index d1956df..283f353 100644
--- a/NewRelic.MAUI.Plugin/Platforms/Android/NewRelicMethodsImplementation.cs
+++ b/NewRelic.MAUI.Plugin/Platforms/Android/NewRelicMethodsImplementation.cs
@@ -3,6 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
+using System.Reflection;
using Android.Runtime;
using Com.Newrelic.Agent.Android.Logging;
using NRAndroidAgent = Com.Newrelic.Agent.Android.NewRelic;
@@ -69,6 +70,7 @@ private bool IsNumeric(Object obj)
public void Start(string applicationToken, AgentStartConfiguration agentConfig = null)
{
+
if (agentConfig == null)
{
agentConfig = new AgentStartConfiguration();
@@ -126,7 +128,7 @@ public void Start(string applicationToken, AgentStartConfiguration agentConfig =
var newRelic = NRAndroidAgent.WithApplicationToken(applicationToken)
- .WithApplicationFramework(Com.Newrelic.Agent.Android.ApplicationFramework.Maui, "1.1.2")
+ .WithApplicationFramework(Com.Newrelic.Agent.Android.ApplicationFramework.Maui, "1.1.3")
.WithLoggingEnabled(agentConfig.loggingEnabled)
.WithLogLevel(logLevelDict[agentConfig.logLevel]);
diff --git a/NewRelic.MAUI.Plugin/Platforms/iOS/NewRelicMethodsImplementation.cs b/NewRelic.MAUI.Plugin/Platforms/iOS/NewRelicMethodsImplementation.cs
index 7e916af..6b1af6b 100644
--- a/NewRelic.MAUI.Plugin/Platforms/iOS/NewRelicMethodsImplementation.cs
+++ b/NewRelic.MAUI.Plugin/Platforms/iOS/NewRelicMethodsImplementation.cs
@@ -52,7 +52,8 @@ public void Start(string applicationToken, AgentStartConfiguration agentConfig =
NRIosAgent.EnableCrashReporting(agentConfig.crashReportingEnabled);
NRIosAgent.SetPlatform(MauiiOS.NewRelic.NRMAApplicationPlatform.Maui);
- MauiiOS.NewRelic.NewRelic.SetPlatformVersion("1.1.2");
+ MauiiOS.NewRelic.NewRelic.SetPlatformVersion("1.1.3");
+
MauiiOS.NewRelic.NRLogger.SetLogLevels((uint)logLevelDict[agentConfig.logLevel]);
if (!agentConfig.loggingEnabled)
diff --git a/NewRelic.MAUI.iOS.Binding/NewRelic.MAUI.iOS.Binding.csproj b/NewRelic.MAUI.iOS.Binding/NewRelic.MAUI.iOS.Binding.csproj
index ab0ec22..7627e22 100644
--- a/NewRelic.MAUI.iOS.Binding/NewRelic.MAUI.iOS.Binding.csproj
+++ b/NewRelic.MAUI.iOS.Binding/NewRelic.MAUI.iOS.Binding.csproj
@@ -6,7 +6,7 @@
true
NewRelic.MAUI.iOS.Binding
New Relic
- 7.5.1.1
+ 7.5.1.2
true
NewRelic iOS SDK binding for .NET MAUI
A .NET iOS library that binds the native New Relic iOS SDK. With NewRelic, you can collect crashes, network traffic, and other information for .NET MAUI iOS apps using native components.
diff --git a/NewRelic.MAUI.iOS.Binding/NewRelic.xcframework/ios-arm64/NewRelic.framework/Info.plist b/NewRelic.MAUI.iOS.Binding/NewRelic.xcframework/ios-arm64/NewRelic.framework/Info.plist
index 4015d521c0cc15ac4f4e622688ba1277ba03b26c..57ea048459138ad6da4a4c8d5a9036a201a58865 100644
GIT binary patch
delta 114
zcmV-&0FD2X2JHnEVsLC}b968;-w+i60s{mE1_uZU3b7aM0Rf?t2LfYBq9`d40T2SA
zD^+1~Z8kIj2mmzzO8{p8d;pOEu>igR)By1T4gnwmD*-(LOaWj4YXNlueF2IAodK)?
U%K_2>)dAiC^8xn({FBuJK4P67-T(jq
delta 152
zcmaFMI+;y8sURn_xWvHV{rjWg7!??`8EqMT7!w$?8A};!8G)*Z!IRfB*#Q7u
C4?a5p
diff --git a/NewRelic.MAUI.iOS.Binding/NewRelic.xcframework/ios-arm64_x86_64-simulator/NewRelic.framework/Info.plist b/NewRelic.MAUI.iOS.Binding/NewRelic.xcframework/ios-arm64_x86_64-simulator/NewRelic.framework/Info.plist
index 10febfc7fdc197d8d9f92c759e0b67d7c853eea2..24406f5cd7ed61498c0fc5247d42a01fa785f5d7 100644
GIT binary patch
delta 113
zcmV-%0FM8G2H6D|VsLC}b968;-w+f50s{mE1_uZU3JVMku^Pz%0il!T0e(fICnyjB
z5CQ-Q05bqd0A&Dr0FMB#0K5Rw0Pg_|0UiM<0XqRo0bT)V0doO+0f+&c0jdG90ki?V
T0n!210owuL0pkJnlg$D&0}&n5
delta 175
zcmcb~+Q=rARFIQdTw-AGe*azp5k@9v7FITP4o)s^9