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:
+76
-49
@@ -118,8 +118,8 @@ in `ScannerViewModel` (only the hash index is persisted), so force-stopping and
|
||||
returns to the empty state with the grant still in place:
|
||||
|
||||
```bash
|
||||
adb shell am force-stop de.softwareapp_hb.fotodup.finder.debug
|
||||
adb shell am start -n de.softwareapp_hb.fotodup.finder.debug/de.softwareapp_hb.fotodup.finder.MainActivity
|
||||
adb shell am force-stop de.softwareapp_hb.fotodup.finder.free.debug
|
||||
adb shell am start -n de.softwareapp_hb.fotodup.finder.free.debug/de.softwareapp_hb.fotodup.finder.MainActivity
|
||||
adb exec-out screencap -p > store-assets/raw-screenshots/phone/01-empty.png
|
||||
```
|
||||
|
||||
@@ -192,7 +192,7 @@ adb shell settings put system user_rotation 3 # tablet10 only; the Nexus 7 is
|
||||
|
||||
# 4. The phone set's prerequisites: the app, the permission, the demo library.
|
||||
adb install -r app/build/outputs/apk/debug/app-debug.apk
|
||||
adb shell pm grant de.softwareapp_hb.fotodup.finder.debug android.permission.READ_EXTERNAL_STORAGE
|
||||
adb shell pm grant de.softwareapp_hb.fotodup.finder.free.debug android.permission.READ_EXTERNAL_STORAGE
|
||||
python3 tools/make-demo-photos.py
|
||||
adb push demo-photos/foto-dup-demo /sdcard/DCIM/foto-dup-demo
|
||||
adb shell content call --uri content://media --method scan_file --arg /sdcard/DCIM/foto-dup-demo
|
||||
@@ -200,8 +200,8 @@ adb shell content call --uri content://media --method scan_file --arg /sdcard/DC
|
||||
# 5. Capture. `01` is one screencap. The other three need a tap, so their coordinates come from
|
||||
# `uiautomator dump` instead of guesswork, and a screencap burst *started before the tap* is what
|
||||
# catches the short scanning screen — 22 photos scan in seconds even under emulation.
|
||||
adb shell am force-stop de.softwareapp_hb.fotodup.finder.debug
|
||||
adb shell am start -n de.softwareapp_hb.fotodup.finder.debug/de.softwareapp_hb.fotodup.finder.MainActivity
|
||||
adb shell am force-stop de.softwareapp_hb.fotodup.finder.free.debug
|
||||
adb shell am start -n de.softwareapp_hb.fotodup.finder.free.debug/de.softwareapp_hb.fotodup.finder.MainActivity
|
||||
adb exec-out screencap -p > store-assets/raw-screenshots/tablet-7in/01-empty.png
|
||||
# ... burst frames into /tmp, tap "Start scan" (7-inch 600 1155, 10-inch 800 1465), keep the frame
|
||||
# showing "Looking for visually similar photos… N / 22" for 02 and the one after it for 03,
|
||||
@@ -292,21 +292,40 @@ enough, so the capture never depends on tap timing; that is how `04-options.png`
|
||||
|
||||
## App pricing
|
||||
|
||||
**Decision: a one-time paid app — a free download is off the table.** Foto Dup Finder is sold on
|
||||
Google Play at a single price: no free tier, no trial, no subscription, no in-app purchase. Nothing
|
||||
in this repository changes because of that decision — it lives in the Play Console, and the app
|
||||
carries **no Billing code at all** (see [PLAY_RELEASE_CHECKLIST](PLAY_RELEASE_CHECKLIST.md) step 4).
|
||||
**Current decision: freemium, as a new listing.** The freemium build uses
|
||||
`applicationId = de.softwareapp_hb.fotodup.finder.free`, so it is a **new Play
|
||||
listing**, separate from the old paid app at `de.softwareapp_hb.fotodup.finder`.
|
||||
Publish it as **Free** (new apps are free by default); do not change the old paid
|
||||
listing's price. The free tier shows one anchored adaptive AdMob banner; a one-time
|
||||
in-app purchase (`pro_no_ads`) removes it. There is no subscription, no trial and no
|
||||
account, and Pro only removes ads — every duplicate-finding, selection and deletion
|
||||
feature stays free.
|
||||
|
||||
Why paid rather than free-with-a-Pro-unlock:
|
||||
Why freemium replaced the paid listing:
|
||||
|
||||
- The app is a **single-purpose utility with no running costs** — no servers, no sync, no accounts —
|
||||
so there is nothing a subscription would fund and nothing to keep charging for.
|
||||
- Play Billing would merge `com.android.vending.BILLING` into the manifest and put a purchase screen
|
||||
into an app whose whole pitch is "no account, no tracking, nothing leaves the device". A price on
|
||||
the listing costs **zero permissions and changes zero Data Safety answers** — a claim no other
|
||||
monetisation of this app can make.
|
||||
- There is no ad SDK and there never will be: an ad SDK adds the `INTERNET` permission, and the
|
||||
merged-manifest and Data Safety claims below would immediately stop being true.
|
||||
- A free download is the only way to reach users who will not pay up front for a
|
||||
single-purpose utility. The ad-supported tier funds the app; Pro gives the people
|
||||
who value it a clean, ad-free experience.
|
||||
- The purchase stays **one-time**, matching the old paid-app promise and avoiding a
|
||||
subscription for something with no running server cost.
|
||||
- Existing paid customers are grandfathered into Pro through the install-time cutoff
|
||||
when the old paid app is still installed on the first freemium launch, so going free
|
||||
does not take anything away from them. Customers who removed the old app need a
|
||||
promo code or support flow.
|
||||
- The cost is explicit: the ads SDK adds `INTERNET`, `ACCESS_NETWORK_STATE`, `AD_ID`
|
||||
and the `ACCESS_ADSERVICES_*` permissions; Billing adds
|
||||
`com.android.vending.BILLING`. The merged-manifest and Data Safety answers below
|
||||
reflect that.
|
||||
|
||||
**Play Console work:** set *Monetise › Products › App pricing* to **Free**, create
|
||||
and activate the one-time product `pro_no_ads`, add the AdMob app/banner unit and a
|
||||
UMP message, and update the **Ads**, **Advertising ID** and **Data Safety**
|
||||
declarations. Full steps: [MONETIZATION](MONETIZATION.md). The price is read from Play
|
||||
at runtime, so no code change is needed to change it.
|
||||
|
||||
> **Historical record — the paid-app rationale below is superseded.** It is kept for
|
||||
> the release history, not as current guidance. The app is no longer sold once, does
|
||||
> carry Billing and ads, and no longer has the "no INTERNET permission" claim.
|
||||
|
||||
⚠️ **The choice is only reversible while the app has not been offered for free.** Play's rule, from
|
||||
*Set up your app's prices*: *“You can change your app from paid to free. Once your app has been
|
||||
@@ -420,28 +439,38 @@ time. Use a promo code, never a real purchase, for your own end-to-end buying te
|
||||
|
||||
### Short description (max 80 characters)
|
||||
|
||||
Find and remove duplicate photos. Ad-free, works offline, no uploads.
|
||||
Find duplicate photos. Free with ads; Pro removes them.
|
||||
|
||||
Alternative, if the no-account promise should lead:
|
||||
Alternative, if the privacy promise should lead:
|
||||
|
||||
Find and delete duplicate photos. No ads, no uploads, no account.
|
||||
Find duplicate photos, offline. Free with ads; optional ad-free Pro.
|
||||
|
||||
Neither option may say "free": the app is paid, so the claim would simply be false. Play's metadata
|
||||
policy also bans price and promotional wording in the **app title, icon and developer name**
|
||||
("free for limited time only" is its own example), which is why the price story below lives in the
|
||||
description body and is written as a plain statement of fact — no discounts, no urgency, nothing
|
||||
that reads as a promotion.
|
||||
The two options are **55** and **68** characters, both inside Play's 80-character
|
||||
limit. The app is free to download, so “free” is accurate now. Play's metadata policy
|
||||
still bans price and promotional wording in the **app title, icon and developer name**
|
||||
(“free for limited time only” is its own example); the free/Pro distinction belongs
|
||||
in the description body, stated as fact rather than as an urgency device.
|
||||
|
||||
### Full description (max 4000 characters)
|
||||
|
||||
Find and remove duplicate photos, then get the space back. Foto Dup Finder does one
|
||||
job and does it without ads, without an account and without ever uploading anything.
|
||||
The draft below is **2,701 characters**, leaving room for review or a new feature
|
||||
paragraph.
|
||||
|
||||
Find and remove duplicate photos, then get the space back. Foto Dup Finder does
|
||||
one job, keeps your photos on your device, and gives you a clean, ad-free
|
||||
experience with a one-time Pro purchase.
|
||||
|
||||
FREE WITH ONE BANNER, PRO WITHOUT ADS
|
||||
• The free tier has every feature and one small banner at the bottom.
|
||||
• A one-time Pro purchase removes the banner. No subscription, no account.
|
||||
• Nothing is locked behind Pro — scanning, selecting and deleting stay free.
|
||||
|
||||
WHY IT IS DIFFERENT
|
||||
• Pay once, then own it. No ads, no banners, no interstitials, no subscriptions and no
|
||||
in-app purchases — there is nothing else to buy, now or later.
|
||||
• No internet permission at all, so the app has no way to upload your photos.
|
||||
• No account, no sign-in, no tracking, no analytics.
|
||||
• Your photos never leave your device. Only the optional ad/consent SDK and
|
||||
Google Play Billing use the network.
|
||||
• No account, no sign-in, no app-level tracking or analytics. The ads SDK's data
|
||||
use is described in the privacy policy.
|
||||
• No in-app currency, no subscription, nothing else to buy.
|
||||
|
||||
WHAT IT DOES
|
||||
• Finds exact copies: files that are byte-for-byte identical, even when their names
|
||||
@@ -468,29 +497,27 @@ that reads as a promotion.
|
||||
4. Tap "Remove all selected" and confirm once for the whole batch.
|
||||
|
||||
YOUR PHOTOS STAY YOURS
|
||||
Foto Dup Finder declares no internet permission, ships no advertising or analytics
|
||||
SDKs, and stores nothing besides a local index of file hashes so the next scan can be
|
||||
quick. No photo ever leaves your phone, and uninstalling the app removes the index
|
||||
with it.
|
||||
Foto Dup Finder stores nothing besides a local index of file hashes so the next
|
||||
scan can be quick. No photo ever leaves your phone, and uninstalling the app
|
||||
removes the index with it. Ads and purchases need a connection; finding duplicates
|
||||
does not.
|
||||
|
||||
GOOD TO KNOW
|
||||
• Requires Android 8.0 or newer.
|
||||
• Sold through Google Play as a one-time purchase — no subscription, no in-app
|
||||
purchases, no account.
|
||||
• Free to download. One optional one-time Pro purchase removes the banner.
|
||||
• Photos moved to the trash can be restored from your gallery app until the trash is
|
||||
emptied (Android 11 and newer).
|
||||
• Works fully offline, in flight mode, always.
|
||||
• Duplicate scanning works fully offline, in flight mode, always.
|
||||
|
||||
Every claim above is checkable against this repository: no `INTERNET` permission in the
|
||||
merged manifest, no ad or analytics dependency in `gradle/libs.versions.toml`, `minSdk 26`
|
||||
in `app/build.gradle.kts`, and the second-run speed-up is the persistent hash index in
|
||||
`data/PhotoIndexStore.kt`.
|
||||
Every claim above is checkable against this repository: the ad/Billing dependencies in
|
||||
`gradle/libs.versions.toml`, the merged-manifest permissions (including `INTERNET`,
|
||||
`AD_ID` and `BILLING`), `minSdk 26` in `app/build.gradle.kts`, and the second-run speed-up is
|
||||
the persistent hash index in `data/PhotoIndexStore.kt`.
|
||||
|
||||
The price is the one claim that is *not* in here, because it is a Play Console setting
|
||||
(`Products > App pricing`) rather than code. What *is* checkable is the rest of the monetisation
|
||||
story — the absence of it: no Billing dependency in `gradle/libs.versions.toml`, and no
|
||||
`com.android.vending.BILLING` in the merged manifest (see
|
||||
[PLAY_RELEASE_CHECKLIST](PLAY_RELEASE_CHECKLIST.md) step 5).
|
||||
The price is *not* in the app: it is a Play Console setting (and Play's localized
|
||||
`formattedPrice` is what the Pro sheet shows). The product id **`pro_no_ads`** is in
|
||||
`monetization/ProProduct.kt`; the free/Pro gate, consent and Data Safety answers are
|
||||
documented in [MONETIZATION](MONETIZATION.md).
|
||||
|
||||
### Category and tags
|
||||
|
||||
@@ -510,7 +537,7 @@ story — the absence of it: no Billing dependency in `gradle/libs.versions.toml
|
||||
| Tag | Verdict | Reason |
|
||||
|---|---|---|
|
||||
| **Photography** | ✅ use | The app's subject *is* the user's photo library, and someone who reads "find duplicate photos" sees immediately why the tag is there. This is the only photo-domain tag that applies. Available while the category is *Tools*; if the category is *Photography* it is the category itself and therefore redundant. |
|
||||
| **Privacy & security** | ⚠️ optional | Defensible: the listing *leads* with "no internet permission at all", "no account, no tracking, no analytics", and that is visible to an unfamiliar user — Google's test. But it pulls in people browsing privacy tools who are not after a photo cleaner. Add it only if that discovery surface is wanted. |
|
||||
| **Privacy & security** | ⚠️ optional | Defensible: the listing leads with on-device photo processing, “no account, no tracking, no analytics” and “your photos never leave your device”. That is visible to an unfamiliar user — Google's test. But it pulls in people browsing privacy tools who are not after a photo cleaner, and the app now has ads, so the claim is narrower than it used to be. Add it only if that discovery surface is wanted. |
|
||||
| *anything else* | ❌ | Nothing else in the list describes this app; see below. |
|
||||
|
||||
Tags cannot express *"duplicate"* at all, so **search discovery rests on the title and short
|
||||
|
||||
Reference in New Issue
Block a user