Closed huyvuskedulo closed 2 years ago
@huyvuskedulo submitted a task to the Akavache repo and I redirected him here after testing with just the SQLiteRaw dependency @ericsink
Something weird is happening with including older versions of System.Text.Json
Looks like maybe this has been resolved over in the sentry repo...
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 Akavache, but it turn out it's might be a problem for SQLitePCLRaw.bundle_e_sqlite3 (a dependency of Akavache): https://github.com/reactiveui/Akavache/issues/680
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