Monetize Your Mobile Apps with Ease

The IAPHUB SDK is the easiest way to implement in-app purchases in your .NET MAUI and Avalonia UI apps. Get a clean, unified C# API for both iOS and Android—no native code required.

.NET 9+iOS 13+Android API 24+Open Source on GitHub

Handles all the complexity of StoreKit V1 & V2 and Google Play Billing Library, with built-in support for consumables, non-consumables, and subscriptions.

Modern .NET Framework Support

Built for .NET 9+ with first-class support for .NET MAUI and Avalonia UI frameworks on iOS 13+ and Android API 24+.

Cross-Platform Mobile IAP

Unified API for iOS and Android mobile apps. Write your in-app purchase logic once in C# and deploy to both app stores.

Server-Side Receipt Validation

Secure receipt validation for App Store and Google Play, protecting your revenue from fraud and cracked apps.

Subscription Lifecycle Management

Handle complex subscription flows like upgrades, downgrades, trials, and grace periods with ease.

Native C# API

Built with idiomatic C# APIs, utilizing Tasks and async/await for a smooth developer experience.

Real-time Analytics

Track your revenue, active subscriptions, and churn rate directly from the IAPHUB dashboard.

Quick Installation

Install the IAPHUB .NET SDK via NuGet with a single command:

Terminal
$dotnet add package Iaphub

Start Coding in Minutes

Implement in-app purchases in your .NET MAUI or Avalonia app with just a few simple steps. No complex native code required—just clean C# async/await patterns.

1. Initialize the SDK

Start by initializing IAPHUB with your app credentials. This should be done when your app launches.

Code Editor
await Iaphub.StartAsync(
    appId: "YOUR_APP_ID",
    apiKey: "YOUR_API_KEY"
);

2. Get Available Products

Retrieve the list of in-app products configured in your IAPHUB dashboard.

Code Editor
var products = await Iaphub.GetProductsAsync();

foreach (var product in products)
{
    Console.WriteLine($"{product.Title}: {product.Price}");
}

3. Purchase a Product

Process a purchase with built-in error handling. IAPHUB handles all the complexity of StoreKit and Play Billing.

Code Editor
try
{
    var transaction = await Iaphub.BuyAsync("pack_10_coins");
    Console.WriteLine($"Purchase successful!");
}
catch (IaphubException ex)
{
    Console.WriteLine($"Purchase failed: {ex.Message}");
}

Frequently Asked Questions

Install the IAPHUB .NET SDK via NuGet, initialize it with your API credentials, and use the simple C# API to implement consumables, subscriptions, and non-consumable products in your .NET MAUI iOS and Android apps.
Yes! The IAPHUB .NET SDK fully supports Avalonia UI on iOS and Android mobile platforms, providing the same unified C# API for in-app purchases.
Yes, IAPHUB handles all communication with Apple's StoreKit (iOS App Store) and Google Play Billing Library (Android), providing server-side receipt validation for both platforms.
The SDK supports all IAP types: consumables (coins, credits), non-consumables (premium features), auto-renewable subscriptions, and non-renewing subscriptions on both iOS and Android.
Yes, IAPHUB offers a generous free tier perfect for indie .NET developers, startups, and apps testing in-app purchase integration before launch.
The SDK requires .NET 9.0 or later and supports iOS 13.0+ and Android API Level 24+ for building mobile apps with in-app purchases.
Yes, the SDK includes full support for both Apple's StoreKit V1 and the modern StoreKit V2 APIs, ensuring compatibility and future-proofing your iOS in-app purchase implementation.