Skip to content

howitzergamesllc/plugin.howitzergames.storekit2

Repository files navigation

Overview

This is a C# binding project that binds to an xcode project that wrapped swift from StoreKit v2 API from Apple in ObjC.

This project has no affiliation with Microsoft, the Maui/Xamarin teams, or Apple.

Microsoft's current recommendation to iOS.NET developers is that they should write their own bindings using this slim binding demo project: https://github.com/Redth/DotNet.Platform.SlimBindings

Adding the Project

dotnet add package plugin.howitzergames.storekit2

Notes

StoreKit Apple SDK and NuGet Releases

SDK Name SDK Version NuGet Package Version
plugin.howitzergames.storekit2 10.0.30 10.0.30

Nuget.org

NuGet

Troubleshooting

NuGet package consumption

Ensure proper Condition in .csproj for iOS / MacCatalyst:

<ItemGroup Condition="'$(TargetFramework)' == 'net10.0-ios' OR '$(TargetFramework)' == 'net10.0-maccatalyst'">
  <PackageReference Include="plugin.howitzergames.storekit2" Version="10.0.30" />
</ItemGroup>

Contributing

To reproduce this package and make improvements, see MacBuildNotes.md.

Release Notes:

  • Version 10.0.30:

    • Update C# bindings to address the updates to the xcframework (see below).
    • Updated xcframework to be runtime safe.
      • Removed/commented all @available attributes to prevent runtime crashes and ensure backwards compatability back to iOS 15.0.
      • Added runtime safety checks to all @available methods and classes to ensure functionality is the same.
      • Added fallback behaviors for methods and classes that are not available on older iOS versions.
  • Version 10.0.20:

    • Removed old reference names.
  • Version 10.0.10:

    • Initial build of StoreKit2 framework.

About

A C# binding implementation of apples swift based store kit 2

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors