Next · Unreleased
Working-tree content. Subject to change and not yet released. Commit: e3d4530507.
Remote Config enableIAP
enableIAP is a boolean Remote Config key. It defaults to true.
What it controls: whether players can buy single songs (the weekly song deal and the "buy this song" price pill).
What it does not control:
- The No Ads package. As of 2026-11-05 the remove-ads promo card in the song list (a tap
buys the package straight away) shows whatever the flag says. It stops showing only once the player owns
no-ads (
adsRemoved). This change keeps the No Ads package available while the IAP rework is in progress. - Any subscription paywall. This includes the onboarding, first-song, replay, video, session and home-return paywalls. See onboarding.md.
Where it is defined
There is no EXPO_PUBLIC_RC_* dev override for this key (dev-overrides.ts).
What reads it
All of these are single-song IAP behaviour.
What must not read it
These are enforced by paywalls-ignore-enable-iap.test.ts:
- Every subscription paywall: the first-song, video, play/tutorial result,
PaywallHost,SessionPaywallHostand onboarding paywalls. - The No Ads package:
buyRemoveAdsin the flow store (no flag check before buying)- the promo gate in
buildSongListItems(!adsRemoved && rows.length > 0) RemoveAdsPromoCard
Ad gating does not read the flag either. The gate is asked per format
(entitlement-gate.ts):
- interstitial, App Open and banner close on
isPremium || adsRemoved; - rewarded closes on
isPremiumonly. A No Ads purchase keeps rewarded videos, so songs and Learn hearts still unlock by video (PM 2026-11-09).
History
- Before 2026-11-05: with
enableIAPoff, the No Ads package was hidden as well. The promo row was left out, its paywall would not open, and its price was not fetched. - 2026-11-05: the No Ads package no longer follows the flag, ahead of the IAP rework. If
the rework needs its own switch for the No Ads package, add a separate Remote Config key
rather than reusing
enableIAP.