SkiaSharp 违反了 Windows 商店应用认证

SkiaSharp violates Windows Store App Certification

刚刚使用 SkiaSharp 创建了一个很棒的 UWP 应用程序。我尝试了 运行 App Store 认证工具包,但我遇到了以下问题:

Error Found: The supported APIs test detected the following errors:
API TlsAlloc in kernel32.dll is not supported for this application type. libSkiaSharp.dll calls this API.
API TlsGetValue in kernel32.dll is not supported for this application type. libSkiaSharp.dll calls this API.
API TlsSetValue in kernel32.dll is not supported for this application type. libSkiaSharp.dll calls this API.
Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.

那么,有人知道我们是否可以使用 SkiaSharp 发布到 Windows App Store 吗?否则,UWP 支持就没有任何意义。

谁能帮我解决这个问题?

好的,这个问题已经被 Xamarin 论坛上的人解决了。 基本上,SkiaSharp 库目前调用了错误的框架成员,这只是当前 nuget 包中的一个错误 - 所以应该很快得到修复。

https://forums.xamarin.com/discussion/comment/211510

感谢使用 SkiaSharp!

我一直在努力完成 UWP 支持,我想我已经做到了。最后两个版本:v1.53.1 和 v1.53.1.1 不应导致任何认证错误。

如果情况仍然如此,请提出问题 (https://github.com/mono/SkiaSharp/issues),以便我们尽快修复。

编辑

我们在这里讨论:https://github.com/mono/SkiaSharp/issues/129

最后说明:ARM/x64 可以,但 x86 仍在使用 getenv

编辑 2

Your submission for Skia.UWP.Demo passed certification.

It will take up to 16 hours for your changes to be visible to all of your customers. Once published, your app's listing will be available at https://www.microsoft.com/store/apps/9NBLGGH51856.

Thank you, The Windows Store Team