Feature Request
Support for .NET MAUI
Current Status:
Completed
Tom S
We use the Raygun4Xamarin.Forms NuGet package for our iOS and Android apps. .NET MAUI is built on .NET 6 and is the next evolution of Xamarin.Forms, so as we look to the future to upgrade our apps to that, are there any plans to support .NET MAUI in your mobile SDKs?
https://www.nuget.org/packages/Raygun4Xamarin.Forms
More info on .NET MAUI: https://dotnet.microsoft.com/en-us/apps/maui
Thanks!
Raygun
Zheng Li
Posted on
Feb 24 2023
Hi there,
We've just released a brand new Raygun4Maui provider for Crash Reporting. Please note that this version (v1.0.0) only supports Windows. You can take it for a test drive here and let us know what you think.
This is only the beginning, we have a series of work planned to enhance the new RaygunMaui provider, so stay tuned for other platform support as well as support for advanced features and other products.
Happy coding!
Zheng Li
VP of Product
Raygun
jlinker
Posted on
Oct 11 2023
Is the new RaygunMaui provider work with Serilog.Sinks.Raygun? I use Serilog with Raygun and it breaks my Maui project.
Raygun
Sumitra
Posted on
Oct 11 2023
Hi there,
Thank you for reaching out to us.
The 2 providers should work within your project! To diagnose your issue further, I'll need more information. If you could send us a private message via https://raygun.com/about/contact and flick us the error you're seeing and your Raygun set up, we'd gladly help out.
Alternatively, please do check out our docs to ensure your set up process is matching our instructions.You can check out the 2 following documentation pieces -
- https://raygun.com/documentation/language-guides/serilog-sinks/crash-reporting/installation/
- https://raygun.com/documentation/language-guides/dotnet/crash-reporting/maui/
Looking forward to your response.
Kind regards, Sumitra
jlinker
Posted on
Oct 13 2023
@Sumitra, I have sent the information you requested via the contact page.
Raygun
Sumitra
Posted on
Oct 15 2023
Hi there,
Thank you so much for your patience whilst we resolve your issue.
The team and I have put the fix into a pre-release stage via Nuget.
You can find the pre-release version here if you would like to give this a try - https://www.nuget.org/packages/Raygun4Maui/1.2.3-pre-1
We will also do additional testing on our end before we officially release and will continue to keep you updated as we go.
Kind regards, Sumitra
Raygun
Reilly Oldham
Posted on
Sep 18 2024
Hi there,
Following up on this thread, we now have the v2 MAUI provider, which incorporates better crash reporting features and real user-monitoring. The latest version of this is v2.2.0
We've also updated our Serilog Sink so you can use your RaygunMauiClient with our sink directly, this is part of the v8.0.0 release. Below is how you can use it in your project with Raygun4Maui:
var app = builder.Build();
var client = app.Services.GetService<RaygunMauiClient>();
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.WriteTo.Raygun(client)
.CreateLogger();
return app;
Note: This should go in your MauiAppBuilder
in MauiProgram.cs
Hopefully this solves any issues you've been facing.
Kind Regards,
Reilly.