mymuseum-visitapp/pubspec.yaml
Thomas Fransolet d39949a6bd Lunettes Meta, lecteur audio en onglet, et badge de version dans les Parametres
Ce commit boucle le travail en cours sur la branche (assistant lunettes Meta,
passage du lecteur audio flottant a un onglet, ajustements scanner / liste de
configurations / telechargement) et y ajoute le badge de version.

Le badge, en bas de la feuille Parametres, affiche « flavor . version . commit ».
Un APK pose sur une tablette du terrain n'etait rattachable a aucun commit
precis : la version du pubspec ne bougeait pas d'un build a l'autre et rien
n'indiquait le flavor reellement installe. kGitSha suit le meme schema que
kApiBaseUrl, injecte par --dart-define, et kFlavor expose le flavor deja calcule.

package_info_plus etait deja une dependance transitive ; il devient direct,
puisqu'il est desormais importe.

/!\ Un --dart-define modifie n'est PAS pris en compte sans `flutter clean` sur
ce projet : verifie a la sentinelle, le SHA restait absent de libapp.so tant que
le cache Dart n'etait pas vide. Un build de release destine au terrain doit donc
toujours passer par un clean, sinon le badge affiche le SHA du build precedent.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-08 22:43:53 +02:00

170 lines
5.9 KiB
YAML

name: mymuseum_visitapp
description: MyMuseum visit app
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.3+22
environment:
sdk: ">=3.1.0 <4.0.0"
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
auto_size_text: ^3.0.0
openapi_generator_cli: ^5.0.2
openapi_generator: ^5.0.2
openapi_generator_annotations: ^5.0.2
provider: ^6.1.2
fluttertoast:
carousel_slider: ^5.0.0
#flutter_svg_provider: ^1.0.3
photo_view: ^0.15.0
intl: ^0.20.2
#audioplayers: ^2.0.0
just_audio: ^0.9.38
get: ^4.6.6
permission_handler: 12.0.1 #^11.3.1
diacritic: ^0.1.3
flutter_widget_from_html: ^0.15.2
webview_flutter: ^4.10.0
#ar_flutter_plugin: ^0.7.3
flutter_pdfview: ^1.4.0+1
youtube_player_flutter: ^9.1.1
youtube_player_iframe: ^5.2.1
# Specific mobile
#qr_code_scanner: ^1.0.1 #not in web
mobile_scanner: ^4.0.0 # that replace qr_code_scanner..
http: ^1.2.0
sqflite: #not in web
just_audio_cache: ^0.1.2 #not in web
beacon_scanner: ^0.0.4 #not in web
smooth_page_indicator: ^1.2.1
mapbox_maps_flutter: ^2.0.0 # specific mobile ..
google_maps_flutter: ^2.5.3 # Specific mobile and web
qr_flutter: ^4.1.0 # multi
flutter_map: ^7.0.2 #all
image: ^4.1.7
url_launcher: ^6.3.1
package_info_plus: ^8.0.2 # numero de version affiche dans les Parametres
speech_to_text: ^7.0.0
geolocator: ^13.0.0
latlong2: ^0.9.1
firebase_core: ^3.6.0
firebase_messaging: ^15.1.3
flutter_local_notifications: ^17.2.2
# Ray-Ban Meta glasses integration
flutter_meta_wearables_dat: ^0.9.1 # Android + iOS — SDK DAT v0.9.0
app_links: ^6.4.1 # Retour du deep link Meta AI -> handleUrl()
# porcupine_flutter: ^3.0.3 — wake word prod, à activer (payant)
flutter_tts: ^4.2.0 # TTS on-device gratuit (Google/Apple) — remplace ElevenLabs
flutter_foreground_task: ^8.11.0 # Garde le main isolate en vie (Android foreground service + iOS)
flutter_sound: ^9.2.13 # Enregistrement audio pour HomeAssistantSttEngine
manager_api_new:
path: ../manager-app/manager_api_new
myinfomate_layout:
path: ../manager-app/myinfomate_layout
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
build_runner:
openapi_generator: ^5.0.2
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^1.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
generate: true
uses-material-design: true
assets:
- assets/splash/
- assets/loader/
- assets/icons/
- assets/images/
- assets/images/old/
- assets/files/
- assets/wake_words/
- assets/sounds/
#- assets/animations/
#- assets/files/
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
flutter_localizations:
sdk: flutter