-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app crashes with latest SkiaSharp version #1722
Comments
Yes it does, what's the plan for supporting 3.x version of Skiasharp? |
The latest version of LiveCharts is compatible with SkiaSharp 3, it's impossible to make |
Thanks @beto-rodriguez , but if you install LiveChartsCore.SkiasharpView.Blazor, it installs SkiaSharp 2.8.8.9-preview.2.2 as a transitive package, upgrading to the latest 3.x versions of SkiSharp breaks it. |
Same with LiveChartsCore.SkiaSharpView.Maui. So which version and package should I use in MAUI if I want to update these:
to these:
Because if I use this package
then I get this error: |
Thank you rc-4.5 solved my issue! |
This is now supported on the latest version of the library, thanks for the report. |
Unfortunately it doesn't render now after upgrade: |
I taked a closer look throughout. on 2.0.0-rc4.5 If I navigate from a page (with await Shell.Current.GoToAsync("..", animate: true)) that contains any chart I get this exception: System.Exception: 'Unable to cast to ContentViewGroup' [MIUIScout App] Enter APP_SCOUT_WARNING State |
Describe the bug
The app crashes with error:
Could not load type of field 'LiveChartsCore.SkiaSharpView.Painting.ImageFilters.DropShadow:_cropRect' (6) due to: Could not resolve type with token 010000cf from typeref (expected class 'CropRect' in assembly '') assembly: type:CropRect member:(null)
with this livechart version:
<PackageReference Include="LiveChartsCore.SkiaSharpView.Maui" Version="2.0.0-beta.710" />
update these packages to:
the error occures
revert these packages back to:
its working again
To Reproduce
Place a polarchart in page, even an empty one like:
<lvc:PolarChart HeightRequest="100" WidthRequest="100" />
Expected behavior
Shows the polarchart without crash
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: