ZXing.Net icon indicating copy to clipboard operation
ZXing.Net copied to clipboard

ZXing.Net Bindings for SkiaSharp Package missing Linux

Open ahmed-abdelrazek opened this issue 2 years ago • 4 comments

it comes with image but not image

ahmed-abdelrazek avatar Jan 17 '24 13:01 ahmed-abdelrazek

Version 2.88.3 has vulnerabilities (#545) can the package also be upgraded when above issue is worked on.

mathy-plutoflume avatar Jan 18 '24 10:01 mathy-plutoflume

Version 2.88.3 has vulnerabilities (#545) can the package also be upgraded when above issue is worked on.

they already updated it to 2.88.6 but didn't push a new package yet https://github.com/micjahn/ZXing.Net/commit/6d11086589e8b567060a5ab9fe145573cd5c9895

ahmed-abdelrazek avatar Jan 18 '24 11:01 ahmed-abdelrazek

The SkiaSharp.NativeAssets.* dependencies are added transitively by the SkiaSharp package. I have no idea how to add the package SkiaSharp.NativeAssets.Linux correctly to the SkiaSharp binding package. And in my opinion, it should not be necessary. What do you think about adding the package manually to your project which uses the SkiaSharp binding package?

micjahn avatar Jan 18 '24 22:01 micjahn

i did add it manually which fixed my problem (running asp core web api on linux with skiasharp renderer) but the point is i shouldn't have to because i expect my cross platforms library to by cross platforms in hindsight it's on SkiaSharp project including just windows and mac by default and not linux as well they have whole section on their readme about this issue https://github.com/mono/SkiaSharp#using-skiasharp https://github.com/mono/SkiaSharp/issues/453

i guess you can also add the SkiaSharp.NativeAssets.Linux library manually just like SkiaSharp itself until they fix their package as temporary (with fanky support) fix for anyone that except it to work out of the box like me or leave this issue open for any one that is asking

ahmed-abdelrazek avatar Jan 19 '24 01:01 ahmed-abdelrazek