Connect RevenueCat to your Goodspeed app
In-app purchase and subscription management for iOS and Android: offerings, paywalls, and restore all wired at generation time. Goodspeed wires RevenueCat into every app that needs it at generation time, so you start with a working integration, not a blank config and a documentation tab.
WHAT GETS WIRED IN
Built into every RevenueCat build
Every app Goodspeed generates with RevenueCat includes these wired integrations from the first build. No manual setup required.
| Item | Description | Strength |
|---|---|---|
| Purchases.configure() called on app init with platform-correct iOS/Android API keys from gasConfig.backend.revenuecat | Purchases.configure() called on app init with platform-correct iOS/Android API keys from gasConfig.backend.revenuecat | 01 |
| identifyRevenueCatUser() called alongside PostHog identify on every login and signup event | identifyRevenueCatUser() called alongside PostHog identify on every login and signup event | 02 |
| getOfferings() with a 5-minute TTL cache to avoid redundant network calls on paywall opens | getOfferings() with a 5-minute TTL cache to avoid redundant network calls on paywall opens | 03 |
| purchasePackage() and purchaseProduct() with full error surface for paywall UI components | purchasePackage() and purchaseProduct() with full error surface for paywall UI components | 04 |
| restorePurchases() for post-reinstall and device-switch flows, accessible from settings | restorePurchases() for post-reinstall and device-switch flows, accessible from settings | 05 |
| getCustomerInfo() for live entitlement checks throughout the app so premium gates are always current | getCustomerInfo() for live entitlement checks throughout the app so premium gates are always current | 06 |
Source: gas-template repository · payments/subscriptions
REAL GENERATED CODE
A snippet from a RevenueCat integration the pipeline ships
This pattern comes directly from the gas-template codebase. The studio generates RevenueCat integration code like this for every app that includes it, not a placeholder you have to fill in yourself.
Conditional IAP init
// lib/revenuecat.ts export async function initRevenueCat(): Promise<void> { if (isWeb || !Purchases) return; if (!gasConfig.features.inAppPurchases.enabled) return; const apiKey = Platform.OS === 'ios' ? gasConfig.backend.revenuecat.iosKey : gasConfig.backend.revenuecat.androidKey; if (!apiKey) return; await Purchases.configure({ apiKey }); }
Today's log
APPS THAT USE REVENUECAT
Where this integration ships
These app types include RevenueCat as part of the generated stack. Each link goes to a full spec page with capabilities, scored ideas, and a pipeline walkthrough.
- Build a Fitness Tracker appBuilding a fitness tracker means wiring together daily logging, progress charts, Apple Health, and push reminders. Goodspeed generates all of that in a single build, not a patchwork of tutorials. The FITNESS TRACKER APP
- Build a Productivity App appProductivity apps succeed when they remove friction from the moment the user decides to work. Goodspeed generates a productivity app with Pomodoro timer, focused task queue, distraction blocker hooks,PRODUCTIVITY APP
- Build a Habit Tracker appHabit trackers live or die on the loop: cue, routine, reward. Goodspeed generates a complete React Native habit tracker with streaks, reminders, and progress visualization, backed by Supabase so your HABIT TRACKER APP
START WITH REVENUECAT