feat: turn the paid app into a freemium app with ads and Pro

- add a single AdMob anchored adaptive banner to the free tier
- add UMP consent and a privacy-options entry point before ads load
- add the one-time Play Billing product `pro_no_ads`; Pro removes the banner
  and nothing else, every scan/selection/deletion feature stays free
- cache the entitlement locally, handle pending purchases, acknowledge and
  retry acknowledgement, and restore from Play on resume
- grandfather paid installs through `legacyPro.cutoffEpochMs`, checking both
  the new package and the old paid package declared in <queries>
- move the Play identity to `de.softwareapp_hb.fotodup.finder.free` while
  keeping the Kotlin namespace `de.softwareapp_hb.fotodup.finder`
- add a debug-only Pro toggle and focused monetisation tests
- add AGENTS.md, docs/codemap.md, docs/codemap.mmd and docs/MONETIZATION.md
- update README, PRIVACY, CHANGELOG, ROADMAP, store copy and the Play checklist
- bump to 1.1.0 / versionCode 4
This commit is contained in:
2026-10-20 09:28:29 +02:00
parent 3afa7d777d
commit 22091dd808
36 changed files with 3268 additions and 295 deletions
+40 -31
View File
@@ -6,6 +6,11 @@ only the format is different: an App campaign asset group takes **5 headlines of
characters** and **5 descriptions of at most 90 characters**, and Google rotates and recombines
them, so every asset has to stand on its own.
> **Current model: freemium.** The app is free to download with one small banner; a one-time Pro
> purchase removes it. The copy and rules in this section reflect that. Strategy notes further down
> that still describe the old paid listing are historical — see
> [MONETIZATION](MONETIZATION.md) and [STORE_LISTING › App pricing](STORE_LISTING.md#app-pricing).
Character counts below are **measured**, not estimated, and are the loading figure (spaces and
punctuation included). An em dash and a hyphen are both one character, so swapping `—` for `-`
never changes a count.
@@ -18,26 +23,25 @@ never changes a count.
| 2 | Delete Duplicate Photos | 23 |
| 3 | Duplicate Photo Cleaner | 23 |
| 4 | Reclaim Storage Fast | 20 |
| 5 | No Ads, No Uploads | 18 |
| 5 | Free With One Small Ad | 22 |
Headlines 1–3 carry the search intent (*duplicate photos* — the phrase a user actually types and
the one Play's tag list cannot express, see [STORE_LISTING](STORE_LISTING.md#category-and-tags)),
4 carries the benefit, 5 carries the differentiator that no competitor in this category can copy
without rewriting its APK.
4 carries the benefit, 5 states the free/Pro model without pretending the free tier is ad-free.
## Descriptions (max 90 characters)
| # | Description | Chars |
|---|---|---|
| 1 | Find duplicate and near-duplicate photos, keep the best of each, delete the rest safely. | 88 |
| 2 | Ad-free and fully offline. Scans thousands of photos in seconds. Nothing is ever uploaded. | 90 |
| 2 | Free with one small banner; ad-free with Pro. Scans thousands of photos in seconds. | 83 |
| 3 | Exact copies and visually similar shots, grouped for you. Android confirms every deletion. | 90 |
| 4 | Reclaim gigabytes. Keep the best copy, trash the rest — reversible on demand. | 77 |
| 5 | Pay once, own it — no ads, no subscription, no account. Your photos never leave the phone. | 90 |
| 5 | Free to scan; one-time Pro removes the banner. Your photos never leave the phone. | 81 |
The five cover five different angles on purpose, because Google mixes descriptions with any
headline: what it does (1), speed and privacy (2), accuracy and safety (3), the payoff (4), the
commercial promise (5).
headline: what it does (1), the free/Pro model and speed (2), accuracy and safety (3), the payoff
(4), and privacy plus the upgrade (5).
## Spares for A/B testing
@@ -45,11 +49,11 @@ Rotate these in one at a time and let the campaign decide; they are all in-spec.
| Headline | Chars | Angle |
|---|---|---|
| Pay Once, Own It | 16 | Price honesty, filters out freebie-hunters |
| Works Fully Offline | 19 | Flight-mode reassurance |
| Free Photo Cleanup | 18 | The free tier, stated plainly |
| Ad-Free With Pro | 16 | The upgrade, without hiding the free banner |
| Works Fully Offline | 19 | Flight-mode reassurance for photo scanning |
| Photos Stay On Your Phone | 25 | The privacy promise stated as a fact |
| Find Similar Photos | 19 | Second keyword surface |
| Clean Up Your Gallery | 21 | Plain-language intent |
| Description | Chars | Angle |
|---|---|---|
@@ -57,31 +61,30 @@ Rotate these in one at a time and let the campaign decide; they are all in-spec.
| Resized, recompressed or byte-identical — one scan finds them all and shows the space. | 86 | Why "near-duplicate" matters |
| Faster every re-scan. Remembers file hashes on your phone, never in the cloud. | 78 | The persistent index |
| Keep the best copy of every shot. One tap marks the rest; you always confirm the delete. | 88 | The two-step removal |
| No ads, no account, no internet permission. Clean up your gallery with nothing given up. | 88 | Privacy as the lead |
| No account, no uploads. Free with one banner; a one-time Pro purchase removes it. | 81 | Privacy plus the honest model |
## Rules this copy follows
- **The word "free" is not used, and must not be added.** The app is sold at a single price
([STORE_LISTING › App pricing](STORE_LISTING.md#app-pricing)), so any free claim is simply
false — and both Play's misleading-claims policy and Google Ads' misrepresentation policy treat
that as a violation, not a growth hack. "Reclaim storage" is a benefit; "free" would be a lie.
- **No price, discount or urgency wording.** Same reason the *Short description* alternatives in
[STORE_LISTING](STORE_LISTING.md#short-description-max-80-characters) avoid it: there is no
free tier to promote, and "limited time" reads as a promotion. *Pay once, own it* is a plain
statement of the business model.
- **Every claim is checkable against this repository.** *No ads* — no ad or analytics dependency
in `gradle/libs.versions.toml`. *No internet permission* — nothing in the merged manifest.
*Never uploaded* — same manifest, and [PRIVACY.md](../PRIVACY.md). *Faster every re-scan* — the
persistent hash index in `data/PhotoIndexStore.kt`. *Android confirms every deletion* —
`MediaStore.createDeleteRequest` / `createTrashRequest`, no `MANAGE_EXTERNAL_STORAGE`.
- **“Free” is accurate for the free tier** — the app is free to download and use. Do **not** say
“ad-free” without the Pro qualifier: the free tier shows one banner. “Ad-free with Pro” and
“free with one small banner” are the honest pairings.
- **No discount or urgency wording.** The free/Pro split is a plain statement of the model, not a
promotion. Avoid “limited time”, “50% off” and similar.
- **Every claim is checkable against this repository.** *Free tier with one banner* —
`ui/ads/BannerAdSlot.kt` + `AdPolicy`. *Pro removes it* — `monetization/ProStore.kt` +
`pro_no_ads`. *Your photos never leave the phone* — `PRIVACY.md` and the on-device scan
pipeline. *Faster every re-scan* — the persistent hash index in `data/PhotoIndexStore.kt`.
*Android confirms every deletion* — `MediaStore.createDeleteRequest` / `createTrashRequest`,
no `MANAGE_EXTERNAL_STORAGE`.
- **No editing or video claims.** The app cannot edit or capture photos and does not scan videos
([README › Known limitations](../README.md#known-limitations)); *Photo editor* framing is
deliberately absent for the same reason the tag is not used.
- **No absolutes.** *Finds every duplicate* and *100% safe* are not claims the engine can keep —
the Aggressive policy can miss pairs, EXIF-rotated images do not match, and unreadable files
are skipped. The copy says what the app does, not what it never fails at.
- **"Ad-free" is a feature claim, not a price claim** — it is what a user of the competing
ad-laden cleaners is looking for, and it survives the paid-app rule above.
- **Don't claim “no internet permission”.** The ad/consent and Billing SDKs use the network; the
accurate claim is that **photos** are never uploaded. See
[PRIVACY.md](../PRIVACY.md) and [MONETIZATION](MONETIZATION.md).
## Which asset types to supply (and what to skip)
@@ -153,7 +156,13 @@ results), uploaded to YouTube as **unlisted** and pasted in as a video asset. It
not an ad — a purpose-shot 15 s clip of scan → "43.7 MB reclaimable" would beat it, and a landscape or
square variant would additionally fill the other orientations.
### The gate to pass first: does a sale pay for the ad?
### Historical: the gate that applied to the paid app
> **Superseded paid-app economics.** The sections from here to the end of the budgeting notes were
> written when a Play install *was* a paid purchase. They do not describe the freemium funnel and
> must not be used as current budget or target guidance. The freemium funnel has two different
> conversions — a free install and, later, a Pro upgrade — so its cost-per-install target and
> payback have to be measured separately. The copy and rules above are current.
This app nets ≈ **€2.54** a sale ([STORE_LISTING › The arithmetic](STORE_LISTING.md#app-pricing)) and
a paid app has no free install to optimise towards — Google counts a conversion only after the buyer
@@ -206,7 +215,7 @@ here — delivery is, and the target is what caps it.
| Location | **one market only, to start** | One market means one sticker price and one set of unit economics; mixing VAT rates mixes the arithmetic |
| Audience segments | **leave empty** (see below) | A segment *narrows* delivery, and delivery is already the binding constraint |
| Networks, devices, schedule | leave to Google | App campaigns set these themselves |
| Conversion tracking | **nothing to install** | Google Play reports the purchase. The app has no SDK, no `INTERNET` permission and no analytics ([PRIVACY.md](../PRIVACY.md)); adding one to "fix attribution" would make the listing's central claim false |
| Conversion tracking | **nothing to install** | Google Play reports the purchase. The app has no analytics SDK; photos never leave the device. The freemium build's only network users are ads/UMP/Billing ([PRIVACY.md](../PRIVACY.md)) |
#### Audience segments, if you set one at all
@@ -267,9 +276,9 @@ breaking even — which is what a bounded experiment should look like. Review at
Do not touch the budget or the target mid-flight: both reset learning, and at this volume the model has
little enough data as it is.
Two house rules apply to creatives exactly as to the copy: **no "free"** anywhere — this is a paid app
([why](STORE_LISTING.md#app-pricing)) — and no absolute claims the engine cannot keep (see *Rules this
copy follows* above).
Two house rules apply to creatives exactly as to the copy: **do not claim “ad-free” without the
Pro qualifier** — the free tier shows one banner — and no absolute claims the engine cannot keep
(see *Rules this copy follows* above).
## Re-checking the counts