Skip to content

Commit

Permalink
fix: added missing info.plist file in iOS bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ndesai-newrelic committed Sep 27, 2024
1 parent e6f9333 commit a01beab
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions NewRelic.MAUI.Plugin/NewRelic.MAUI.Plugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<PackageId>NewRelic.MAUI.Plugin</PackageId>
<Version>1.1.2</Version>
<Version>1.1.3</Version>
<Summary>New Relic Plugin for .NET MAUI mobile apps</Summary>
<Description>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.</Description>
<Authors>New Relic</Authors>
Expand All @@ -35,6 +35,6 @@
<PackageReference Include="NewRelic.MAUI.Android.Binding" Version="7.5.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="NewRelic.MAUI.iOS.Binding" Version="7.5.1.1" />
<PackageReference Include="NewRelic.MAUI.iOS.Binding" Version="7.5.1.2" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -69,6 +70,7 @@ private bool IsNumeric(Object obj)

public void Start(string applicationToken, AgentStartConfiguration agentConfig = null)
{

if (agentConfig == null)
{
agentConfig = new AgentStartConfiguration();
Expand Down Expand Up @@ -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]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ 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)
Expand Down
2 changes: 1 addition & 1 deletion NewRelic.MAUI.iOS.Binding/NewRelic.MAUI.iOS.Binding.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>true</ImplicitUsings>
<PackageId>NewRelic.MAUI.iOS.Binding</PackageId>
<Authors>New Relic</Authors>
<Version>7.5.1.1</Version>
<Version>7.5.1.2</Version>
<IsBindingProject>true</IsBindingProject>
<summary>NewRelic iOS SDK binding for .NET MAUI</summary>
<description>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.</description>
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit a01beab

Please sign in to comment.