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:
@@ -18,6 +18,14 @@ coil = "3.5.0"
|
||||
# Kotlin libraries
|
||||
coroutines = "1.9.0"
|
||||
|
||||
# Monetisation.
|
||||
# play-services-ads 25.5.0 requires minSdk 24 and compileSdk 34+, so it fits this app
|
||||
# (minSdk 26, compileSdk 36). It is the stable legacy SDK; the GMA Next-Gen SDK is the
|
||||
# migration path, but it is a different API surface and adds READ_BASIC_PHONE_STATE.
|
||||
playServicesAds = "25.5.0"
|
||||
userMessagingPlatform = "4.0.0"
|
||||
billing = "9.1.0"
|
||||
|
||||
# Testing
|
||||
junit = "4.13.2"
|
||||
robolectric = "4.17"
|
||||
@@ -44,6 +52,10 @@ kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-
|
||||
|
||||
coil-compose = { group = "io.coil-kt.coil3", name = "coil-compose", version.ref = "coil" }
|
||||
|
||||
play-services-ads = { group = "com.google.android.gms", name = "play-services-ads", version.ref = "playServicesAds" }
|
||||
user-messaging-platform = { group = "com.google.android.ump", name = "user-messaging-platform", version.ref = "userMessagingPlatform" }
|
||||
billing-ktx = { group = "com.android.billingclient", name = "billing-ktx", version.ref = "billing" }
|
||||
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
robolectric = { group = "org.robolectric", name = "robolectric", version.ref = "robolectric" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user