Search code examples
uwpskiasharp

SkiaSharp violates Windows Store App Certification


Just finished creating a great UWP app using SkiaSharp. Ive tried running the App Store Certification Kit, but I get the following voilations:

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.

So, does anyone know if we can publish to the Windows App Store with SkiaSharp ? if not the UWP support doesnt make any sense.

Can anyone help me out with this ?


Solution

  • OK, the issue has been solved by someone on the Xamarin forums. Basically the SkiaSharp library currently calls the wrong framework members, and its just a bug in the current nuget packages - so should get fixed really soon.

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