Pocketmind docs
v2.0.0
Live previewConsole demo Get help
● Earn

Pro.
Subscriptions or a one-time purchase, sold by the stores.

Pro is off by default. When you switch it on, Pro features are locked for users who have not bought it.

Google Play BillingApple In-App PurchaseOff by default

01Set it up

Your own accounts

Purchases run on your own Google Play and Apple developer accounts (not included in the item price). The stores keep their commission, usually 15-30%.

  1. Create the products in Google Play Console and App Store Connect, with the same ids on both: by default pro_monthly and pro_yearly (subscriptions) and pro_lifetime (non-consumable). You can use other ids; enter them in the console.
  2. Choose what is Pro in the console (Features, Model catalog tier).
  3. Switch on Pro and paywall > Sell Pro. Set the paywall title and points.
  4. Add your terms and privacy links (Legal); both stores require them on a paywall.

02How it works

  • Prices always come from the store in the user's currency; there is no price in the code or the config.
  • Pro = the lifetime product, or a subscription the store reports as active. At every start (while the paywall is on) the app asks the store what this account owns; a cancelled or refunded subscription the store no longer reports is removed. Offline, the last known state is kept. Restore purchases is also on the paywall.
  • Pro is tied to the store account that paid (Google Play or Apple ID), the only identity the app has. There is no server-side receipt check in 2.0.0.
  • Purchases are acknowledged with the store (completePurchase), as both stores require.
Buyer-configured

The default product ids only exist in the store account that owns your app id. No purchase data goes anywhere but the store.