AppNative › Blog › In-app purchases

RevenueCat for web apps, and the native StoreKit alternative

Updated November 2026 · By the AppNative team

Short answer: Yes, through AppNative's RevenueCat mode, which runs RevenueCat in the native iOS and Android layer around your web app. Many apps don't need it, though: AppNative's native mode already creates products, shows a native paywall, verifies transactions and forwards Apple and Google server notifications to your database, with no additional revenue share.

RevenueCat's SDKs are built for native and cross-platform apps, not for a web app in a browser. AppNative gives a wrapped web app two options: run RevenueCat in the native layer, or use AppNative's own StoreKit 2 and Google Play Billing integration with no third-party cut.

RevenueCat in-app purchases at a glance

Option 1Native StoreKit 2 and Google Play Billing, run by AppNative
Option 2RevenueCat mode with your RevenueCat project
Product creationAutomated in App Store Connect and Google Play
PaywallAppNative native paywall, AI-designed
Your JavaScriptSame window.AppNative.iap bridge in both modes
SwitchingChange mode per app without rewriting your web code

How to use RevenueCat or native StoreKit with a wrapped web app

  1. Wrap your app. AppNative builds the iOS and Android apps.
  2. Choose a mode. Native StoreKit for no extra fees, or RevenueCat if you already rely on its dashboard.
  3. Create products. AppNative creates them in App Store Connect and Google Play.
  4. Wire your code. Call showPaywall() and listen to onEntitlementsChanged. The bridge is the same in both modes.

The code your web app needs

Everything native is handled by AppNative. Your web code identifies the user, listens for entitlement changes and opens the paywall. In a normal browser the same button keeps using Stripe.

// 1. Right after sign-in (not inside the buy button)
const token = await window.AppNative?.iap?.setUser(user.iapUuid);

// 2. Once at app start: renewals, expiries, refunds and upgrades land here
window.AppNative?.iap?.onEntitlementsChanged((list) => {
  const active = list.filter((e) => e.isActive && !e.revocationDate && !e.isUpgraded);
  syncEntitlements(active); // your backend verifies and saves them
});

// 3. Your existing upgrade button
function upgrade() {
  if (window.AppNative?.iap) return window.AppNative.iap.showPaywall(); // Apple / Google
  window.location.href = "/checkout"; // Stripe, unchanged, on the web
}

Your backend should verify each entitlement's signedTransactionInfo before granting access, and match appAccountToken to the signed-in user. See the AppNative API docs for copy-paste prompts you can give your AI builder.

What AppNative's in-app purchase layer includes

Native StoreKit vs RevenueCat

Native StoreKit mode keeps everything inside your own Apple and Google accounts with no third-party revenue share. RevenueCat adds its own dashboard and analytics on top. AppNative supports both, so you can pick per app and switch later.

Why Stripe inside the app gets rejected

App Store Review Guideline 3.1.1 says digital content, subscriptions, credits and premium features bought inside an iOS app have to go through Apple's in-app purchase. A Stripe checkout page loaded inside a wrapped web app is one of the most common rejections for AI-built apps. The fix that keeps your revenue intact: Stripe stays on the web, StoreKit runs in the native app, and both write to the same subscription record.

AppNative vs Median.co, Despia and other wrappers

Most webview wrappers expose a purchase bridge and leave the rest to you: creating products in App Store Connect, building a paywall, verifying transactions, handling renewals and refunds. AppNative does all of that. It creates the products, generates the native paywall, verifies every transaction, and wires Apple and Google server notifications into your own database.

Common questions

Why not drop the RevenueCat web SDK into my app?

It's for web billing through Stripe or Paddle. It can't open Apple's purchase sheet, which only exists in native code.

Can I migrate from RevenueCat later?

Yes. Products live in your own App Store Connect and Google Play accounts either way.

Is there a RevenueCat alternative for web app wrappers?

Yes. AppNative's native in-app purchase mode handles products, paywalls, verification and server notifications without RevenueCat.

Add in-app purchases with AppNative

In-app purchase guides for other builders

More: RevenueCat for web apps · Live Activities for web apps · Widgets for web apps · Rich push notifications