Skip to content

Commit

Permalink
docs: added deprecation message for xamarin agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ndesai-newrelic committed Jan 23, 2025
1 parent e93a329 commit a9971b7
Showing 1 changed file with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ metaDescription: "New Relic's Xamarin agent for Android and iOS: Features, compa
freshnessValidatedDate: never
---

<Callout variant="important">
Deprecation and end of support for NewRelic Xamarin NuGet package
On May 1, 2024, Microsoft will end support for all Xamarin SDKs. For this reason, we're deprecating the NewRelic Xamarin NuGet package in July 2024. We will let you know in which upcoming package version we will be only fixing bugs and addressing important security issues.

Also, in accordance with the NewRelic Support Policy, we will end support for the NewRelic Xamarin NuGet package in July 2025.

We recommend that you upgrade your Xamarin projects to .NET and use the NewRelic .NET MAUI NuGet package instead of the deprecated Xamarin NuGet package.

</Callout>


Our New Relic Xamarin agent monitors your Xamarin mobile app and provides deep insights into your app's performance, errors, and user experience. Once you install and configure the Xamarin agent, you'll be able to:

* <DNT>**Capture C# errors:**</DNT> Identify and fix problems quickly.
Expand Down Expand Up @@ -88,11 +99,11 @@ If you need to install the agent manually, follow these steps:
Application.Current.PageDisappearing += PageDisappearing;
CrossNewRelicClient.Current.HandleUncaughtException();
CrossNewRelicClient.Current.TrackShellNavigatedEvents();

// Set optional agent configuration
// Options are: crashReportingEnabled, loggingEnabled, logLevel, collectorAddress,
// crashCollectorAddress, analyticsEventEnabled, networkErrorRequestEnabled,
// networkRequestEnabled, interactionTracingEnabled, webViewInstrumentation, fedRampEnabled,
// Options are: crashReportingEnabled, loggingEnabled, logLevel, collectorAddress,
// crashCollectorAddress, analyticsEventEnabled, networkErrorRequestEnabled,
// networkRequestEnabled, interactionTracingEnabled, webViewInstrumentation, fedRampEnabled,
// offlineStorageEnabled, newEventSystemEnabled, backgroundReportingEnabled
// AgentStartConfiguration agentConfig = new AgentStartConfiguration(crashReportingEnabled:false);
Expand All @@ -101,7 +112,7 @@ If you need to install the agent manually, follow these steps:
CrossNewRelicClient.Current.Start("YOUR_APP_TOKEN");
// Start with optional agent configuration
// CrossNewRelicClient.Current.Start("YOUR_APP_TOKEN", agentConfig);
}
}
else if (Device.RuntimePlatform == Device.iOS)
{
CrossNewRelicClient.Current.Start("YOUR_APP_TOKEN");
Expand Down Expand Up @@ -258,4 +269,4 @@ The following customizations are available for the Xamarin agent.

Missing HTTP data in the UI?

After installing the .NET MAUI agent, wait at least 5 minutes. If <DNT>**No HTTP data appears:**</DNT> on the HTTP errors and HTTP requests UI pages, make sure you used `HttpMessageHandler` in `HttpClient`.
After installing the Xamarin agent, wait at least 5 minutes. If <DNT>**No HTTP data appears:**</DNT> on the HTTP errors and HTTP requests UI pages, make sure you used `HttpMessageHandler` in `HttpClient`.

0 comments on commit a9971b7

Please sign in to comment.