Plugin.Maui.Spine.Purchases 0.261124.1637

dotnet add package Plugin.Maui.Spine.Purchases --version 0.261124.1637
                    
NuGet\Install-Package Plugin.Maui.Spine.Purchases -Version 0.261124.1637
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.Maui.Spine.Purchases" Version="0.261124.1637" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.Spine.Purchases" Version="0.261124.1637" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.Spine.Purchases" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.Maui.Spine.Purchases --version 0.261124.1637
                    
#r "nuget: Plugin.Maui.Spine.Purchases, 0.261124.1637"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Plugin.Maui.Spine.Purchases@0.261124.1637
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.Maui.Spine.Purchases&version=0.261124.1637
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.Spine.Purchases&version=0.261124.1637
                    
Install as a Cake Tool

Plugin.Maui.Spine.Purchases

Subscriptions and one-time purchases for a Spine app. IAppPurchases takes members of the app's own enums, [RequiresPurchase] opens a paywall before a page or a command, and <PurchasesSection /> is the settings page's Purchases section. A test store sells everything on the device without a store account. The real store comes from an adapter package.

dotnet add package Plugin.Maui.Spine.Purchases
public enum AppPurchase { [PurchaseId("pro")] Pro, Supporter }

public enum AppProduct
{
    [StoreProduct(ProductKind.Subscription, Apple = "se.example.app.pro.month", Google = "pro:month")]
    [Grants(AppPurchase.Pro)]
    ProMonthly,

    [StoreProduct(ProductKind.OneTime, Apple = "se.example.app.supporter", Google = "supporter")]
    [Grants(AppPurchase.Supporter)]
    Supporter,
}

builder.UseSpinePurchases<AppPurchase, AppProduct>(o => o
    .UseTestStore()
    .Paywall(p => p.Terms(new Uri("https://example.se/terms")).Privacy(new Uri("https://example.se/privacy"))));
[NavigableRegion(Title = "Statistics"), RequiresPurchase(AppPurchase.Pro)]
public partial class StatisticsPage { … }

if (purchases.IsActive(AppPurchase.Pro)) …
await purchases.ShowPaywallAsync();
<Border IsVisible="{PurchaseActive {x:Static app:AppPurchase.Supporter}}">…thank you…</Border>
<PurchasesSection />

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Plugin.Maui.Spine.Purchases:

Package Downloads
Plugin.Maui.Spine.Purchases.RevenueCat

The RevenueCat store for Plugin.Maui.Spine.Purchases on iOS, Mac Catalyst and Android, on Plugin.RevenueCat: products and prices, purchases, restores, the user's purchases across devices with the Spine account, and a check of RevenueCat's entitlements against the app's [Grants].

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.261124.1637 0 11/24/2026
0.261123.1633 47 11/23/2026
0.261123.1631 46 11/23/2026
0.261123.1629 55 11/23/2026
0.261123.1627 47 11/23/2026
0.261123.1625 62 11/23/2026
0.261123.1621 58 11/23/2026
0.261123.1614 57 11/23/2026
0.261123.1608 57 11/23/2026