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.
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:
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.
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.
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.
try
{
var transaction = await Iaphub.BuyAsync("pack_10_coins");
Console.WriteLine($"Purchase successful!");
}
catch (IaphubException ex)
{
Console.WriteLine($"Purchase failed: {ex.Message}");
}