You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke SentryXamarin.Init in AppDelegate constructor.
Expected Result
The app started without crash and Sentry is initialized successfully.
Actual Result
The app crashed after start:
Unhandled managed exception: Operation is not supported on this platform.
(System.PlatformNotSupportedException)
at System.Net.Http.NSUrlSessionHandler.get_SupportsAutomaticDecompression()
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at System.Net.Http.HttpClientHandler.InvokeNativeHandlerMethod(String name, Object[] parameters)
at System.Net.Http.HttpClientHandler.GetSupportsAutomaticDecompression()
at System.Net.Http.HttpClientHandler.get_SupportsAutomaticDecompression()
at Sentry.Internal.Http.DefaultSentryHttpClientFactory.Create(SentryOptions options)
at Sentry.Internal.SdkComposer.CreateTransport()
at Sentry.Internal.SdkComposer.CreateBackgroundWorker()
at Sentry.SentryClient..ctor(SentryOptions options, IBackgroundWorker worker)
at Sentry.SentryClient..ctor(SentryOptions options)
at Sentry.Internal.Hub..ctor(SentryOpti<…>
The text was updated successfully, but these errors were encountered:
Environment
net6.0-ios13.0
Steps to Reproduce
Invoke
SentryXamarin.Init
inAppDelegate
constructor.Expected Result
The app started without crash and Sentry is initialized successfully.
Actual Result
The app crashed after start:
The text was updated successfully, but these errors were encountered: