What problem does it solve?
RevenueCat setup for Expo/mobile apps can be complex, requiring server-side provisioning, multiple app configurations, and CRUD management of RevenueCat entities. This Skill provides a structured guideline to bootstrap projects, apps, products, entitlements, offerings, packages, and keys, and to tie them to client-side purchases.
Core Features & Use Cases
- Seed and bootstrap RevenueCat resources using a script (seedRevenueCat.ts) with getUncachableRevenueCatClient, creating a project, test/app stores, products, entitlements, offerings, packages, and test API keys.
- Client-side integration using react-native-purchases to enable in-app purchases in Expo/mobile apps, with a SubscriptionProvider and useSubscription hook for state.
- Guidance for environment variables (REVENUECAT_PROJECT_ID, REVENUECAT_TEST_STORE_APP_ID, REVENUECAT_APPLE_APP_STORE_APP_ID, REVENUECAT_GOOGLE_PLAY_STORE_APP_ID) and best practices to avoid hard-coding values.
- Reference docs and scripts: links to initial setup and subsequent management docs for RevenueCat REST API usage.
Quick Start
Initialize the RevenueCat integration by following the seed script workflow and then wire up the client with RevenueCat in your Expo/mobile app.