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
+91 -22
View File
@@ -1,13 +1,16 @@
# Privacy Policy — Foto Dup Finder
_Last updated: 2026-10-14_
_Last updated: 2026-10-20_
## Summary
Foto Dup Finder finds and removes duplicate photos **entirely on your device**.
The app does **not** collect, transmit, sell or share any of your data. It has no
network access at all. It is sold once through Google Play; the purchase is handled
entirely by Google Play, never by the app (see [Purchases](#purchases)).
Foto Dup Finder finds and removes duplicate photos **entirely on your device**. Your
photos, thumbnails and photo metadata are never uploaded, sold or shared.
The app is **freemium**. The free tier is supported by advertising served by Google
AdMob; a one-time **Pro** purchase removes the ads. The only network traffic is the
advertising/consent SDK and Google Play Billing. The app has no account, no analytics
and no developer-operated server.
## What the app accesses
@@ -16,16 +19,51 @@ entirely by Google Play, never by the app (see [Purchases](#purchases)).
| Your photos (images) | To compare them and detect duplicates | Never leaves your device |
| Photo metadata (file name, size, folder, dimensions, date) | To group and display results | Never leaves your device |
| A local cache of file hashes | To make repeat scans fast | Stored only in this app's private storage |
| Purchase status (`pro_no_ads`) | To keep Pro active and restore it | Handled by Google Play; the app never receives payment details |
| Advertising data (see below) | To show the free tier's banner | Collected/shared by Google Mobile Ads |
## Advertising and consent
The free tier uses the **Google Mobile Ads SDK**. Google states that the SDK
automatically collects and shares the following data for advertising, analytics and
fraud-prevention purposes:
- **IP address** — may be used to estimate general location;
- **User product interactions** — app launch, taps and video views;
- **Diagnostic information** — app launch time, hang rate and energy usage;
- **Device and account identifiers** — Android advertising ID, app set ID, and
identifiers related to signed-in accounts on the device where applicable.
All of that data is encrypted in transit using TLS. The app does not receive your
name, email, phone number or payment details.
Where required (for example the EEA, UK, Switzerland and some US states), the
**Google User Messaging Platform (UMP)** asks for your consent before any ad is
requested. You can change your choice at any time through **Options → Privacy
options** when that entry point is required, or by resetting/deleting your advertising
ID in Android Settings. A refused or unresolved consent means no ad is shown; the
duplicate finder still works.
Google's privacy policy: <https://policies.google.com/privacy>.
## What the app does NOT do
- It does **not** have the `INTERNET` permission, so it cannot send data anywhere.
- It does **not** collect analytics, crash reports, advertising identifiers or
location data.
- It does **not** contain advertising SDKs or third-party trackers.
- It does **not** create accounts and does **not** ask for your name, email or
phone number.
- It does **not** upload, transmit or share your photos, thumbnails, file names or
folder paths.
- The app itself does **not** collect analytics or crash reports. Google Mobile Ads
collects the advertising data described above for advertising, analytics and
fraud prevention.
- It does **not** request or collect location, contacts, camera, microphone or
health data. The ads SDK may estimate general location from the IP address, as
described above.
- It does **not** contain third-party trackers beyond the Google Mobile Ads/UMP and
Play Billing SDKs described here.
- It does **not** sell your data.
- It does **not** create accounts or ask for your name, email or phone number.
- It does **not** read photos other than the images you grant access to.
- It does **not** use `MANAGE_EXTERNAL_STORAGE` or delete anything without the
Android system confirmation dialog.
## Permissions and what they mean
@@ -34,6 +72,15 @@ entirely by Google Play, never by the app (see [Purchases](#purchases)).
| Read photos (`READ_MEDIA_IMAGES` / `READ_EXTERNAL_STORAGE`) | Required to scan your photo library. You can deny this and the app simply will not scan. On Android 14+ you may grant access to *selected photos only*; the app then scans only those. |
| `READ_MEDIA_VISUAL_USER_SELECTED` | Supports Android 14's partial photo access. |
| `WRITE_EXTERNAL_STORAGE` (Android 10 only) | Used solely to delete photos you explicitly select on that older Android version. |
| `POST_NOTIFICATIONS` | Shows the optional scan-progress notification. The scan works without it. |
| `FOREGROUND_SERVICE` + `FOREGROUND_SERVICE_DATA_SYNC` | Keeps a long scan alive while the app is backgrounded. |
| `INTERNET` + `ACCESS_NETWORK_STATE` | Used only by the free-tier ad/consent SDK and the optional Pro purchase. |
| `AD_ID` + `ACCESS_ADSERVICES_*` | Merged by the Google Mobile Ads SDK; used for advertising and measurement. |
| `WAKE_LOCK` | Merged by the Google Mobile Ads SDK for ad rendering. |
| `com.android.vending.BILLING` | Merged by Play Billing; used only for the one-time `pro_no_ads` purchase. |
The ad and Billing SDKs have no access to your photos. The app never requests
location, contacts, camera, microphone or `MANAGE_EXTERNAL_STORAGE`.
## Deleting photos
@@ -48,24 +95,46 @@ you selected.
## Data retention and deletion
The app stores a small local database of file hashes in its private app storage so
that repeat scans are fast. This database contains no image content and never leaves
your device. Uninstalling the app, or clearing its storage in Android Settings,
removes it completely.
that repeat scans are fast. It contains no image content and never leaves your
device. Uninstalling the app, or clearing its storage in Android Settings, removes it
completely.
The app also stores a small `pro_entitlement` preference file (whether Pro is active,
the legacy-install decision and a pending purchase-acknowledgement token). It
contains no photo data. Clearing the app's storage or uninstalling removes it; a
purchase can then be restored through Google Play.
Advertising data collected by Google Mobile Ads is held by Google under its privacy
policy, not by the developer. You can reset or delete your advertising ID in Android
Settings and change consent through the app's **Privacy options** entry point where
UMP requires it.
## Purchases
The app is **sold once through Google Play**. There is no subscription and there is nothing to buy
inside the app.
The app is **free to download and use**. The optional **Pro** upgrade is a one-time
in-app purchase (`pro_no_ads`) that removes the banner. There is no subscription.
Google Play processes the payment and holds the payment details. The app contains no payment code
and never receives them, because it has no network access of any kind (see above). Refunds, order
problems and any question about a charge are handled by Google Play, and the developer can be
reached at the address below.
Google Play processes the payment and holds the payment details. The app never
receives or stores your payment method, and it has no server that could verify a
purchase remotely. Pro status is cached locally and reconciled with Google Play when
the app is online; this is why a purchase can be restored on a device signed into the
same Google account.
Customers who bought the app before it became freemium are grandfathered into Pro
based on the install timestamp, as described in
[docs/MONETIZATION.md](docs/MONETIZATION.md). Because the freemium build is a separate
package, the old paid app must still be installed the first time the new app runs;
otherwise the grant cannot be detected.
Refunds, order problems and questions about a charge are handled by Google Play, and
the developer can be reached at the address below.
## Children
The app is a general-purpose utility and is not directed at children. It collects no
personal data from anyone.
The app is a general-purpose utility and is not directed at children. It has no
account and does not knowingly collect personal information from children. The
free-tier advertising is not configured as child-directed; if that changes, the ad
configuration and this policy must change with it.
## Changes