Skip to main content

RevenueCat Integration

Bfloat integrates with RevenueCat to handle in-app purchases and subscriptions for your mobile applications. RevenueCat simplifies subscription management across iOS and Android with a unified API.
RevenueCat integration is available for mobile applications only. For web payment processing, see Stripe Integration.

Getting Started

Prerequisites

  • A Bfloat AI account
  • A RevenueCat account (free tier available at revenuecat.com)
  • An Apple Developer account (for iOS)
  • A Google Play Developer account (for Android)

Setting Up RevenueCat Integration

Step 1: Create a RevenueCat Project

  1. Log in to your RevenueCat Dashboard
  2. Create a new project for your app
  3. Configure your app stores:
    • Add your iOS app with App Store Connect credentials
    • Add your Android app with Google Play credentials

Step 2: Connect to Bfloat

  1. Navigate to your project in Bfloat AI
  2. Click your avatar in the sidebar
  3. Select Settings
  4. Scroll to the Integrations section
  5. Click Connect RevenueCat
  6. Authorize Bfloat to access your RevenueCat account
  7. Select the RevenueCat project to link

Step 3: Enable in Your Project

After connecting:
  1. Open your project settings
  2. Go to the Integrations tab
  3. Enable RevenueCat for this project
  4. Your SDK keys will be automatically configured

Using RevenueCat in Your Application

Once integrated, you can ask Bfloat’s AI to add monetization features:

Example Prompts

  • “Add a premium subscription with monthly and yearly options”
  • “Create a paywall screen with feature comparison”
  • “Implement a 7-day free trial”
  • “Add a restore purchases button”
  • “Show different content for premium users”

Automatic Configuration

Bfloat automatically handles:
  • Installing the RevenueCat SDK
  • Configuring API keys for iOS and Android
  • Setting up entitlements and offerings

Features

Subscription Management

  • Monthly, yearly, and lifetime subscriptions
  • Free trials and introductory offers
  • Family sharing support

Cross-Platform

  • Single API for iOS and Android
  • Shared subscription state across devices
  • Web dashboard for analytics

Paywalls

  • Customizable paywall templates
  • A/B testing for pricing
  • Localized pricing

Analytics

  • Revenue metrics and charts
  • Subscriber cohorts
  • Churn analysis

Products and Entitlements

RevenueCat uses a hierarchy:
ConceptDescription
ProductsIndividual purchasable items (e.g., “Monthly Pro”)
EntitlementsFeatures unlocked by purchases (e.g., “Premium Access”)
OfferingsGroups of products shown to users (e.g., “Default Paywall”)

Common Issues

Purchases Not Working

  • Verify your App Store Connect / Google Play credentials in RevenueCat
  • Ensure products are approved and available in the stores
  • Check that your app is using the correct bundle ID / package name

Subscriptions Not Syncing

  • Confirm webhook URLs are configured correctly
  • Verify your RevenueCat SDK key is correct

Sandbox Testing

  • Use sandbox accounts for iOS testing
  • Use test accounts for Google Play testing

Resources