Sentry.Xamarin.Forms 1.5.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.0
dotnet add package Sentry.Xamarin.Forms --version 1.5.2
NuGet\Install-Package Sentry.Xamarin.Forms -Version 1.5.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sentry.Xamarin.Forms" Version="1.5.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sentry.Xamarin.Forms --version 1.5.2
#r "nuget: Sentry.Xamarin.Forms, 1.5.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sentry.Xamarin.Forms as a Cake Addin
#addin nuget:?package=Sentry.Xamarin.Forms&version=1.5.2

// Install Sentry.Xamarin.Forms as a Cake Tool
#tool nuget:?package=Sentry.Xamarin.Forms&version=1.5.2


Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us, check out our open positions.

Sentry SDK for Xamarin

build Discord Chat

Integrations Downloads NuGet Stable NuGet Preview
Sentry.Xamarin.Forms Downloads NuGet NuGet
Sentry.Xamarin Downloads NuGet NuGet

Sentry.Xamarin is the tool to go for Xamarin that enriches your errors with valuable data, like breadcrumbs, tags, issue grouping and more!.

Includes for all Platforms supported by Xamarin Essentials:

  • Automatic Navigation breacrumbs. (Xamarin.Forms)
  • Xaml warnings as breadcrumbs. (Xamarin.Forms)
  • Simulator flag.
  • Device manufacturer.
  • Device model.
  • Operational system name and version.
  • Screen information (Pixel density and resolution).
  • Connectivity status.

Additionaly, Android and IOS will include additional information:

  • Free Internal memory (Android/iOS).
  • Total RAM (Android/iOS).
  • CPU model (Android).


Screenshot of Sentry before applying Sentry.Xamarin


Screenshot of Sentry after applying Sentry.Xamarin


All you need to do is to initialize Xamarin integration by calling SentryXamarin.Init, and, it's recommended to start Sentry Xamarin SDK as early as possible, for an example, the start of OnCreate on MainActivity for Android, and, the top of FinishedLaunching on AppDelegate for iOS)

SentryXamarin.Init(options =>
    options.Dsn = "__YOUR__DSN__";

If your app uses Xamarin.Forms you can also use the package Sentry.Xamarin.Forms and initialize the SDK with additional line options.AddXamarinFormsIntegration().


On your MainActivity

public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
    protected override void OnCreate(Bundle savedInstanceState)
        SentryXamarin.Init(options =>
            options.Dsn = "__YOUR__DSN__";


On AppDelegate.cs

public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
    public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        SentryXamarin.Init(options =>
            options.Dsn = "__YOUR__DSN__";


On App.Xaml.cs

sealed partial class App : Application
    protected override void OnLaunched(LaunchActivatedEventArgs e)
        SentryXamarin.Init(options =>
            options.Dsn = "__YOUR__DSN__";


The package requires the following versions or newer:

  • Tizen 4.0 (for Tizen)
  • Xamarin.Android 9.0 (for Android)
  • Xamarin.iOS 10.14 (for iOS)
  • Universal Windows Platform 10.0.16299 (for UWP)
  • Xamarin.Forms (for Xamarin.Forms integration)
  • Xamarin.Essentials 1.4.0
  • Sentry 3.0.0


  • Documentation
  • Forum
  • Discord Chat
  • Stack Overflow
  • Twitter Follow
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.2 4,043 6/26/2023
1.5.1 6,764 2/6/2023
1.5.0 524 2/1/2023
1.4.6 1,234 1/24/2023
1.4.5 5,557 12/6/2022
1.4.4 2,788 11/4/2022
1.4.3 1,983 10/10/2022
1.4.2 9,436 8/5/2022
1.4.1 14,032 5/9/2022
1.4.0 2,412 4/12/2022
1.3.2 12,818 1/18/2022
1.3.1 8,335 9/11/2021
1.3.0 403 9/9/2021
1.2.0 3,943 7/21/2021
1.1.0 4,027 6/18/2021
1.0.3 7,750 3/4/2021
1.0.2 609 2/14/2021
1.0.1 436 2/2/2021
1.0.0 332 1/29/2021
1.0.0-alpha.4 409 1/10/2021
1.0.0-alpha.3 201 12/30/2020
1.0.0-alpha.2 187 12/24/2020
1.0.0-alpha.1 281 12/21/2020

Changes since version 1.5.1

- Sentry .NET 3.33.1 ([#139](
     See full changelog at