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
Describe the bug
Alright, so the problem is I'm trying to implement Sentry.io package (Sentry.Xamarin.Forms) into my project.
It's fine if i tried to implement it in a blank Xamarin project. The problem is when i tried to install it with a project that also has "Akavache", it's unable to send the error because of this
Here is the issue i reported from Sentry, but it turn out it's might be a problem for Akavache: getsentry/sentry-xamarin#72
Error: Failed to send cached envelope: System.MissingMethodException: Method not found: System.Text.Json.JsonDocument System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory`1<byte>,System.Text.Json.JsonDocumentOptions)
at Sentry.Protocol.Envelopes.Envelope.DeserializeHeaderAsync (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken) [0x001a1] in /_/src/Sentry/Envelopes/Envelope.cs:152
at Sentry.Protocol.Envelopes.Envelope.DeserializeAsync (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken) [0x00032] in /_/src/Sentry/Envelopes/Envelope.cs:164
at Sentry.Internal.Http.CachingTransport.ProcessCacheAsync (System.Threading.CancellationToken cancellationToken) [0x00117] in /_/src/Sentry/Internal/Http/CachingTransport.cs:173 , discarding cached envelope.
2021-06-04 13:10:15.969986+0700 MyCats.iOS[24822:748467] Debug: No cached file to process.
After i removed Akavache from my project (and Restore the package for the project) it's running fine again. So Akavache must be using some System.Text.Json in the old version which make the iOS project to run System.Text in that version instead of the latest version coming from Sentry.
Steps To Reproduce
Run the cats app
Click on a cat
Expected behavior
The logs should state that the message is successfully sent to Sentry.
But it was not
Screenshots
Environment
OS: iOS 14.5
Device: iPhone 11 14.5 Simulator
Version: akavache 7.2.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Alright, so the problem is I'm trying to implement Sentry.io package (Sentry.Xamarin.Forms) into my project.
It's fine if i tried to implement it in a blank Xamarin project. The problem is when i tried to install it with a project that also has "Akavache", it's unable to send the error because of this
Here is the issue i reported from Sentry, but it turn out it's might be a problem for Akavache:
getsentry/sentry-xamarin#72
And this is the repo that you can use (click on a cat to see the error logs from console)
https://github.com/unamed000/my-cat-demo/tree/sentry-error
After i removed Akavache from my project (and Restore the package for the project) it's running fine again. So Akavache must be using some System.Text.Json in the old version which make the iOS project to run System.Text in that version instead of the latest version coming from Sentry.
Steps To Reproduce
Expected behavior
The logs should state that the message is successfully sent to Sentry.
But it was not
Screenshots
Environment
The text was updated successfully, but these errors were encountered: