Payments Feature

RevenueCat Integration for Your Mobile App

The fastest way to add subscriptions to your React Native app. VibeFast includes complete RevenueCat integration with paywall UI, entitlement checks, and backend sync.

Complete RevenueCat Stack

Everything you need to monetize your app with subscriptions.

RevenueCat SDK

Official RevenueCat SDK integration for iOS and Android. Handles all platform differences.

App Store Connect

Works with Apple's App Store subscriptions. Proper receipt validation and handling.

Google Play Billing

Full support for Google Play subscriptions. One integration, both platforms.

Restore Purchases

Proper restore flow for App Store compliance. Users can recover their purchases.

Revenue Analytics

Track MRR, churn, and conversion in RevenueCat's dashboard. No extra setup needed.

Remote Config

Configure products and pricing in RevenueCat dashboard. No app updates required.

Get Started in 4 Steps

From zero to accepting payments in an afternoon.

1

Create RevenueCat Account

Sign up at RevenueCat and create your project. Configure your products in App Store Connect and Google Play Console.

2

Add API Keys

Copy your RevenueCat API keys to your environment files. VibeFast templates show you exactly where.

3

Test in Sandbox

Use the local mode to test paywall UI, then switch to sandbox for real purchase testing.

4

Deploy

Switch to production keys and submit your app. RevenueCat handles the rest.

What's Included

RevenueCat SDK configuration
Platform initialization (iOS/Android)
Product fetching and display
Purchase flow implementation
Entitlement checking hooks
Restore purchases flow
Paywall UI components
Subscription tier cards
Convex webhook handlers
Purchase history tracking
Sandbox testing mode
Production deployment guide

Simple Integration

Initialize RevenueCat and check entitlements with a few lines.

Initialize RevenueCat
import { initRevenueCat } from "@/features/payments/services/revenuecat-adapter";

// Initialize once on app start
await initRevenueCat({
  iosKey: process.env.EXPO_PUBLIC_REVENUECAT_IOS_KEY!,
  androidKey: process.env.EXPO_PUBLIC_REVENUECAT_ANDROID_KEY!,
});

// Now you can check entitlements anywhere
const { isPro } = useEntitlements();
Purchase Flow
import { useRevenueCat } from "@/features/payments/hooks";

export default function PaywallScreen() {
  const { products, purchaseProduct, restorePurchases } = useRevenueCat();

  const handlePurchase = async (productId: string) => {
    const result = await purchaseProduct(productId);
    if (result.success) {
      // User is now subscribed!
      router.replace("/home");
    }
  };

  return (
    <View className="flex-1 p-4">
      {products.map((product) => (
        <ProductCard
          key={product.identifier}
          product={product}
          onPurchase={() => handlePurchase(product.identifier)}
        />
      ))}
      <Button onPress={restorePurchases}>
        Restore Purchases
      </Button>
    </View>
  );
}

Frequently Asked Questions

What is RevenueCat and why use it?

RevenueCat is a subscription management platform that handles in-app purchases for iOS and Android. It provides a unified SDK, receipt validation, subscription analytics, and webhook notifications. VibeFast uses RevenueCat because it dramatically simplifies mobile monetization while providing enterprise-grade features.

How much does RevenueCat cost?

RevenueCat is free up to $2,500/month in MTR (monthly tracked revenue). After that, they take a percentage of revenue. For most indie developers and startups, the free tier covers the early growth phase. VibeFast works with any RevenueCat pricing tier.

Does it support both App Store and Google Play?

Yes. VibeFast includes configuration for both platforms. You provide separate API keys for iOS and Android in your environment files, and the SDK automatically initializes the correct platform at runtime.

How do I test subscriptions before going live?

VibeFast includes a local mode with mock products for UI development. When you're ready, use Apple's sandbox accounts and Google's license testing for real transaction testing. The mode is controlled by environment variables.

What about webhooks for subscription events?

VibeFast includes Convex functions to receive RevenueCat webhooks. When a subscription is purchased, renewed, or canceled, the webhook updates user entitlements in real-time. This keeps your backend in sync with subscription status.

Can I offer multiple subscription tiers?

Absolutely. The paywall UI supports multiple products with different pricing and features. Configure your tiers in RevenueCat and App Store Connect, and the UI fetches them at runtime. No code changes needed to add or modify tiers.

Ready to Monetize with RevenueCat?

Get VibeFast and start accepting subscriptions this week.

One-time purchase. Lifetime updates. Commercial license included.