Skip to main content

Subscription Management (Adapty)

Set up Adapty subscription products, paywalls, and placements using the Adapty CLI.

Command: kappmaker adapty setup

kappmaker adapty setup
kappmaker adapty setup --config ./my-config.json

Options

FlagDescriptionDefault
--config <path>Path to JSON config file./Assets/adapty-config.json

Prerequisites

Install and log in:

npm install -g adapty
adapty auth login

What it Does (8 Steps)

  1. Validate CLI and authentication
  2. Load config (from file or interactive prompts)
  3. Find or create app (iOS + Android)
  4. Create "Premium" access level
  5. Create products
  6. Create paywalls (linking products)
  7. Create placements (linking paywalls)

Default Products

ProductPeriodPriceiOS Product IDAndroid Product IDAndroid Base Plan ID
Weekly Premiumweekly$6.99{appname}.premium.weekly.v1.699.v1{appname}.premium.weekly.v1autorenew-weekly-699-v1
Yearly Premiumannual$29.99{appname}.premium.yearly.v1.2999.v1{appname}.premium.yearly.v1autorenew-yearly-2999-v1

iOS product IDs match the App Store Connect format, and Android IDs match what kappmaker gpc setup writes to Google Play Console — so all three systems link automatically.

Default Paywalls and Placements

PaywallProductsPlacementDeveloper ID
Default PaywallWeekly + YearlyDefaultdefault
Onboarding PaywallWeekly + YearlyOnboardingonboarding