capacitor-in-app-purchases
Installation
SKILL.md
Capacitor In-App Purchases
Set up in-app purchases and subscriptions in Capacitor apps, covering store configuration, plugin integration, purchase flows, receipt validation, and testing.
Prerequisites
- Capacitor 6, 7, or 8 app (Capawesome Purchases requires Capacitor 8+; RevenueCat requires Capacitor 8+).
- Node.js and npm installed.
- For iOS: A paid Apple Developer Program membership, Xcode installed, and an app created in App Store Connect.
- For Android: A Google Play Developer account, Android Studio installed, and an app created in Google Play Console.
Agent Behavior
- Guide step-by-step. Walk the user through the process one step at a time. Never present multiple unrelated questions at once.
- Auto-detect before asking. Check the project for platforms (
android/,ios/),package.jsondependencies, and Capacitor version. Only ask the user when something cannot be detected. - One decision at a time. When a step requires user input, ask that single question, wait for the answer, then continue.
- Present clear options. Provide concrete choices (e.g., "Which purchases plugin do you want to use? (1) Capawesome Purchases (2) RevenueCat") instead of open-ended questions.