Adds a permanent, non-consumable premium unlock (EstadoEntitlement + PuertoCompras/ServicioComprasPlayBilling) that removes ads and unlocks alarm vacations, alarms past a 5-alarm free cap, recording start, and full Android Auto browsing. The phone equalizer stays free for everyone. - Entitlement is prefs-backed (compra_premium_v1), fail-open, and resolvable headlessly via esPremiumPersistido() for the Android Auto audio handler, which registers before runApp. - Android Auto reduced mode keeps the real root folder labels for free users; browsing into any of them (and playFromMediaId/playFromSearch/ skipToNext/skipToPrevious) is blocked at the getChildren/servicio_audio choke points, with a locked "Función Premium" item as the backstop. Current-station play/pause/stop stays untouched. A free -> premium transition actively invalidates the head unit's cached browse tree. - Ads (top banner + capped interstitial before adding a station or an alarm) are gated behind entitlement via ServicioAnuncios, using official Google test ad unit IDs pending AdMob provisioning. - Alarm cap UX shows an explanatory message with a secondary unlock action rather than a bare paywall jump; existing data is grandfathered. - 4 new localization keys translated across all 13 supported locales. Co-located tests use strict TDD (RED test before implementation) for every new pure-logic unit; full existing suite passes unchanged.
102 lines
2.6 KiB
YAML
102 lines
2.6 KiB
YAML
name: pluriwave
|
|
description: "Radio mundial con ecualizador, reconocimiento de canciones y UI premium"
|
|
publish_to: 'none'
|
|
version: 1.3.0+151
|
|
|
|
environment:
|
|
sdk: ^3.7.0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
intl: ^0.20.2
|
|
|
|
# Audio
|
|
just_audio: ^0.9.42
|
|
audio_service: ^0.18.15
|
|
audio_session: ^0.1.21
|
|
# Ya transitiva vía audio_service; directa para poder emitir
|
|
# notifyChildrenChanged (subscribeToChildren con BehaviorSubject).
|
|
rxdart: ^0.28.0
|
|
|
|
# UI
|
|
cupertino_icons: ^1.0.8
|
|
google_fonts: ^6.2.1
|
|
flutter_animate: ^4.5.2
|
|
cached_network_image: ^3.4.1
|
|
shimmer: ^3.0.0
|
|
|
|
# State
|
|
provider: ^6.1.2
|
|
|
|
# Storage
|
|
sqflite: ^2.4.1
|
|
path_provider: ^2.1.5
|
|
shared_preferences: ^2.3.4
|
|
|
|
# Network
|
|
http: ^1.2.2
|
|
|
|
# Utils
|
|
path: ^1.9.1
|
|
share_plus: ^10.1.3
|
|
file_picker: ^8.1.7
|
|
uuid: ^4.5.1
|
|
url_launcher: ^6.3.1
|
|
geolocator: ^13.0.4
|
|
geocoding: ^3.0.0
|
|
package_info_plus: ^8.3.1
|
|
|
|
# Ads — TODO: swap Google test ad unit IDs (servicio_anuncios.dart) for
|
|
# real AdMob unit IDs once provisioned (iap-freemium-unlock, Open Question).
|
|
google_mobile_ads: ^5.3.0
|
|
|
|
# In-app purchase
|
|
in_app_purchase: ^3.2.0
|
|
|
|
# Song recognition (activar con AudD key)
|
|
# permission_handler: ^11.3.1
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^5.0.0
|
|
sqflite_common_ffi: ^2.3.7+1
|
|
|
|
flutter:
|
|
generate: true
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- assets/images/
|
|
- assets/icons/
|
|
- assets/icons/alarmas/
|
|
- assets/audio/
|
|
- assets/mockups/
|
|
- assets/generated/
|
|
# Flutter NO recurse: declarar 'assets/content/' incluye solo los
|
|
# ficheros sueltos de esa carpeta, nunca los de sus subcarpetas. Todo
|
|
# el contenido vive en subcarpetas, asi que NADA de esto viajaba en el
|
|
# APK -- verificado abriendo el binario instalado: cero entradas de
|
|
# assets/content. El onboarding reventaba en cada arranque con
|
|
# 'Unable to load asset: assets/content/onboarding/en.md' aunque el
|
|
# fichero existe en disco. Mismo fallo de familia que los drawables
|
|
# resueltos por nombre: referencia sin validacion en compilacion.
|
|
- assets/content/
|
|
- assets/content/onboarding/
|
|
- assets/content/updates/ar/
|
|
- assets/content/updates/bn/
|
|
- assets/content/updates/de/
|
|
- assets/content/updates/en/
|
|
- assets/content/updates/es/
|
|
- assets/content/updates/fr/
|
|
- assets/content/updates/hi/
|
|
- assets/content/updates/id/
|
|
- assets/content/updates/it/
|
|
- assets/content/updates/ja/
|
|
- assets/content/updates/pt/
|
|
- assets/content/updates/ru/
|
|
- assets/content/updates/zh/
|