markuspalme
markuspalme
Try to use numbers for the breakpoint values instead of strings: `override-parameters="{'centeredSlides':'true','breakpoints': {320: {'slidesPerView': '1'}}}">
This situation is still a real problem: > Startup crashes are still a problem - if your app crashes at startup it will likely do so again the next time...
@achocron Thanks. In my scenario, I start the Crash service as soon as possible in the `FinishedLaunching` method (iOS) but the crash originating in my main view model on startup...
@gregsdennis It works just fine in `net6` on Windows, MacOS and also in the iOS simulator - all with the same `Newtonsoft.Json` package. So I think this is a runtime...
Unlikely, the same code works with Xamarin.iOS.
@Cheesebaron Thanks for the suggestion, on iOS that is not an option though:
I have tried `System.Text.Json` instead of `Newtonsoft.Json`. It does not throw an exception, but it does not set any property values. ``` var pi = System.Text.Json.JsonSerializer.Deserialize(x); ```
Here's a small self-contained example: https://github.com/markuspalme/dotnetruntime-75802
Adding ` true` as suggested in this issue helps - but I don't think this should be neccesary: https://github.com/xamarin/xamarin-macios/issues/15961
@Cheesebaron Yes, I figured but wanted to share that it helps here - maybe it helps pinpointing the root cause.