getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
584 stars 206 forks source link

Sentry SDK .net 9 - MAUI #3633

Open bcaceiro opened 3 weeks ago

bcaceiro commented 3 weeks ago

Problem Statement

Building dotnet maui with .net 9 there are warnings regarding Sentry lib:

NuGet package '' version '' contains a shared library 'libsentry-android.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details NuGet package '' version '' contains a shared library 'libsentry.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details NuGet package '' version '' contains a shared library 'libsentry-android.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details NuGet package '' version '' contains a shared library 'libsentry.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details NuGet package '' version '' contains a shared library 'libsentrysupplemental.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details NuGet package '' version '' contains a shared library 'libsentrysupplemental.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details

Solution Brainstorm

No response

jamescrosswell commented 3 weeks ago

Thanks @bcaceiro. We're still working on .NET 9 support and I've associated this with the main ticket that is being used to track progress against that.

I wouldn't recommend using Sentry 4.x with net9.0.

bcaceiro commented 3 weeks ago

Thank you for the information @jamescrosswell ! Will keep an eye on updates!