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
- Log in to your RevenueCat Dashboard
- Create a new project for your app
- 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
- Navigate to your project in Bfloat AI
- Click your avatar in the sidebar
- Select Settings
- Scroll to the Integrations section
- Click Connect RevenueCat
- Authorize Bfloat to access your RevenueCat account
- Select the RevenueCat project to link
Step 3: Enable in Your Project
After connecting:- Open your project settings
- Go to the Integrations tab
- Enable RevenueCat for this project
- 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:| Concept | Description |
|---|---|
| Products | Individual purchasable items (e.g., “Monthly Pro”) |
| Entitlements | Features unlocked by purchases (e.g., “Premium Access”) |
| Offerings | Groups 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