From 11a91863a3c0c4c3cb957d473482cd59dfa3aa9e Mon Sep 17 00:00:00 2001 From: livio Date: Mon, 28 Sep 2026 09:50:58 +0200 Subject: [PATCH] feat: prepare Pro licensing and Android API 36 --- .gitignore | 1 + Components/MenuHelp.razor | 4 +- Components/Pages/Home.razor | 280 +++++++++++-- LMEMappeCatastaliApp.csproj | 41 +- MANUAL_LICENSES.md | 44 ++ MauiProgram.cs | 8 + PLAY_STORE_PRO_CHECKLIST.md | 128 ++++++ PRIVACY_POLICY_DRAFT.md | 27 ++ Platforms/Android/AndroidManifest.xml | 3 +- .../Android/AndroidPlayBillingService.cs | 201 +++++++++ README.md | 17 +- Services/AppLocalizationService.cs | 192 +++++++++ Services/EntitlementService.cs | 152 +++++++ Services/IPlayBillingService.cs | 24 ++ Services/ManualLicenseService.cs | 226 ++++++++++ global.json | 6 + scripts/build-android-test.ps1 | 92 ++++ scripts/build-license-manager.ps1 | 33 ++ tools/LmeLicenseManager/LicenseRepository.cs | 388 +++++++++++++++++ .../LmeLicenseManager.csproj | 15 + tools/LmeLicenseManager/MainForm.cs | 393 ++++++++++++++++++ tools/LmeLicenseManager/Program.cs | 80 ++++ tools/LmeLicenseManager/app.manifest | 16 + wwwroot/css/app.css | 27 +- wwwroot/js/lme-map.js | 111 ++++- 25 files changed, 2447 insertions(+), 62 deletions(-) create mode 100644 MANUAL_LICENSES.md create mode 100644 PLAY_STORE_PRO_CHECKLIST.md create mode 100644 PRIVACY_POLICY_DRAFT.md create mode 100644 Platforms/Android/AndroidPlayBillingService.cs create mode 100644 Services/AppLocalizationService.cs create mode 100644 Services/EntitlementService.cs create mode 100644 Services/IPlayBillingService.cs create mode 100644 Services/ManualLicenseService.cs create mode 100644 global.json create mode 100644 scripts/build-android-test.ps1 create mode 100644 scripts/build-license-manager.ps1 create mode 100644 tools/LmeLicenseManager/LicenseRepository.cs create mode 100644 tools/LmeLicenseManager/LmeLicenseManager.csproj create mode 100644 tools/LmeLicenseManager/MainForm.cs create mode 100644 tools/LmeLicenseManager/Program.cs create mode 100644 tools/LmeLicenseManager/app.manifest diff --git a/.gitignore b/.gitignore index c051d8c..47a57e4 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ obj/ *.p12 *.log TestResults/ +artifacts/ diff --git a/Components/MenuHelp.razor b/Components/MenuHelp.razor index 808f7e9..f19d848 100644 --- a/Components/MenuHelp.razor +++ b/Components/MenuHelp.razor @@ -1,7 +1,9 @@ +@inject AppLocalizationService L10n +