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
+32 -2
View File
@@ -29,13 +29,13 @@
<!-- Photo access banner -->
<string name="access_needed_title">Photo access needed</string>
<string name="access_needed_body">The app needs permission to read your photos so it can find duplicates. Nothing ever leaves your device.</string>
<string name="access_needed_body">The app needs permission to read your photos so it can find duplicates. Your photos never leave your device.</string>
<string name="access_limited_title">Limited photo access</string>
<string name="access_limited_body">You granted access to selected photos only. Grant full access to scan your whole library.</string>
<!-- Intro / empty state -->
<string name="intro_title">Find and remove duplicate photos</string>
<string name="intro_body">Fast, ad-free and completely offline. Your photos are never uploaded.</string>
<string name="intro_body">Fast, private and completely on-device. Your photos are never uploaded. The free version is supported by ads; Pro removes them.</string>
<!-- Scan phases (also used by the progress notification) -->
<string name="phase_loading">Reading your photo library…</string>
@@ -116,6 +116,36 @@
<string name="message_nothing_deleted">Nothing was deleted</string>
<string name="message_not_confirmed">Deletion was not confirmed</string>
<!-- Monetisation: free tier with one banner, Pro removes it -->
<string name="menu_remove_ads">Remove ads</string>
<string name="menu_pro_active">Pro — ads removed</string>
<string name="menu_privacy_options">Privacy options</string>
<string name="pro_title">Remove ads with Pro</string>
<string name="pro_subtitle">One-time purchase. No subscription, no account.</string>
<string name="pro_benefit_ads">No banner ads</string>
<string name="pro_benefit_all_features">Every duplicate-finding feature stays free</string>
<string name="pro_benefit_support">Supports the app\'s development</string>
<string name="pro_price">One-time purchase · %1$s</string>
<string name="pro_price_unknown">One-time purchase</string>
<string name="pro_buy">Buy Pro</string>
<string name="pro_buy_price">Buy for %1$s</string>
<string name="pro_purchasing">Opening Google Play…</string>
<string name="pro_restore">Restore purchase</string>
<string name="pro_not_now">Not now</string>
<string name="pro_close">Close</string>
<string name="pro_active">Pro is active. Ads are removed.</string>
<string name="pro_unavailable">Purchases are unavailable right now. Check Google Play and your connection, then try again.</string>
<string name="message_purchase_pending">Your purchase is pending. Pro activates once Google Play confirms the payment.</string>
<string name="message_purchase_failed">The purchase could not be completed. Please try again.</string>
<string name="message_purchase_unavailable">Purchases are unavailable right now. Check Google Play and your connection.</string>
<string name="message_purchase_not_found">No purchase was found for this Google account.</string>
<string name="message_purchase_restored">Purchase restored. Ads are removed.</string>
<string name="message_pro_already">Pro is already active on this Google account.</string>
<string name="message_ads_removed">Ads removed. Thank you for supporting the app!</string>
<string name="message_privacy_unavailable">Privacy options are unavailable right now. Please try again later.</string>
<!-- Progress notification -->
<string name="notification_channel_name">Scan progress</string>
<string name="notification_channel_description">Shows progress while duplicate photos are being searched for</string>