Store products
lifetime and yearly Pro.
The app sells two things: a one-time lifetime Pro and a yearly subscription. You create them in App Store Connect and Google Play, then give the app their ids.
01What Pro unlocks
Free users can keep 5 items in the price book and use 10 shelf-tag scans a month (both numbers are settings). Pro removes those limits and adds Check again in the browser, the Return-Window Guard and CSV export. The Price Tape, verdicts, capturing from pages, links, screenshots and by typing, and target prices stay free. The paywall offers lifetime, yearly and Restore purchases.
No product ids are included. With empty ids the paywall says purchases are not set up yet and Pro cannot be unlocked: it never fakes a purchase. If you do not want to sell Pro, set the paywall switch to off in the console (App config: paywall) and everything is unlocked.

02App Store Connect
- Create the app record with your bundle id (My Apps, plus).
- Open the app, then Monetization. Create a non-consumable in-app purchase for the lifetime product. Choose a product id such as
pro_lifetime(you choose it; it cannot be reused later). - Create a subscription group and an auto-renewable yearly subscription in it, for example
pro_yearly. - Set prices, names and the review screenshot for each, and accept the Paid Apps agreement and banking/tax forms. Products stay unavailable until these are done.
- Add the product ids to the app (below).
- Test with a Sandbox tester account on a real iPhone before you submit.
03Google Play Console
- Create the app with your application id, and upload a first build to an internal test track (Play only lets you create products once a build with the billing permission is uploaded).
- Monetize, Products, In-app products: create the lifetime product (one-time) with an id such as
pro_lifetime. - Monetize, Subscriptions: create the yearly subscription with a base plan billed yearly, id such as
pro_yearly, and activate the base plan. - Set up a merchant (payments) profile if Play asks for one.
- Add testers (Settings, License testing) and test from the internal track.
Google refunds purchases that are not acknowledged within three days, so make sure you test one real purchase end to end.
04Where to put the ids
| Way | How |
|---|---|
| In the console (no new build) | Console, App config: paywall: fill the four product id fields. They reach phones within about five minutes. Needs the server. |
| In the app code | app/lib/brand.dart: set lifetimeIos, lifetimeAndroid, yearlyIos, yearlyAndroid. Used when no server config is reachable. |
Leave a product's id empty to not sell it on that platform; the paywall hides it. Real store purchases were not exercised by the author because no product ids exist in the source: test them yourself before release.
05Changing or removing a plan
What the app does, read from app/lib/src/services/purchases.dart. Check it against your own wording before you change a live plan.
| You do this | What happens on the phone |
|---|---|
| Nothing (normal use) | After a verified purchase the app saves the kind (lifetime or yearly) and the time the store last confirmed it. Lifetime never expires on the device. A yearly plan is trusted for 35 days after the last confirmation, and the app asks the store again when the last confirmation is older than 7 days (a restore at start). |
| A yearly subscriber cancels, or the subscription ends or is refunded in the store | The store stops confirming it. Pro locks when the last confirmation is older than 35 days. The app does not know about the cancellation sooner. |
You change a product id (in the console or brand.dart) | Only purchases for ids in the current list unlock Pro. A restore of a purchase made under the old id is ignored, so buyers of the old product are not unlocked again after a reinstall. Plans already saved on a device stay as described above. Keep the old id working, or tell those buyers. |
| You empty an id or remove a plan | That plan disappears from the paywall. People who already bought keep what is saved on their device (lifetime forever, yearly for up to 35 days without a new store confirmation). |
| You switch the paywall off | Every installed copy that loads the new setting treats everyone as Pro. Switching it on again locks the people who never bought. |
| You want to give one person Pro | The app has no per-person unlock. Use the store's own tools (promo or offer codes, refunds) or switch the paywall off for everyone. |
Store billing and in-app access are separate: the store charges and refunds, the app only reads what the store confirms. With server verification on (Purchase verification) a purchase the server rejects does not unlock Pro.