Logo Quiz icon

Fonctionnalités

Documentation

Guide de configuration pour Logo QuizVisuella

In-App Purchase

The app supports two IAP product types:

  • coins — a consumable pack that credits a fixed number of coins.
  • remove_ads — a non-consumable that permanently disables interstitial ads for the buyer.

Product IDs are the same on Google Play and the App Store. Set them once in setup.html, register them in both stores with the same ID, and you're done.

1. Define your products in setup.html

Open setup.htmlConfigurations → In-App Purchase. For each product, enter:

FieldNotes
idThe store product ID. Reverse-DNS style, e.g. com.yourcompany.logoquiz.coins_500.
titleIn-app display label.
typecoins or remove_ads.
coinsInteger, only for coins products.

Add as many coins products as you want (typical: 3–5 packs). Add at most one remove_ads product.

Set IAP_IS_ENABLED=true.

Play Store IAP list

2. Create the products on Google Play

In the Play Console for your app:

  1. Open Monetize → In-app products (consumables) for each coins product.
  2. Open Subscriptions and one-time products for the remove_ads non-consumable.
  3. Use the exact same product IDs you entered in setup.html.

Play requires that you upload at least one signed AAB before it will let you activate IAP products — see Release → Build.

3. Create the products on App Store Connect

For each product:

  1. Open App Store Connect → your app → In-App Purchases.
  2. Create a Consumable for each coins product.
  3. Create a Non-Consumable for the remove_ads product.
  4. Match the same product IDs.
App Store Connect IAP add

Testing IAP

  • Play — add your Google account as a License tester in the Play Console → Setup → License testing. Testers see a "Test payment" flow, no real charge.
  • App Store — create a Sandbox tester account in App Store Connect → Users and Access → Sandbox → Testers. Sign into that account on your device under Settings → App Store → Sandbox Account.