Files
meshcore-sar_android/pubspec.yaml
Janez T f7b6143a57 chore: bump app version and update Android/iOS build tooling
- Bump version to 2026.0613.2+57
- Gradle wrapper 8.12 -> 8.14; Flutter migrator flags (builtInKotlin/newDsl)
  and relax kotlin.jvm.target.validation to warning for third-party plugins
- Refresh iOS Xcode project, scheme, Info.plist, Podfile.lock and SwiftPM
  Package.resolved

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 13:19:20 +02:00

215 lines
6.5 KiB
YAML

name: meshcore_sar_app
description: "MeshCore SAR (Search & Rescue) app with BLE mesh networking and offline maps"
# 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 is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 2026.0613.2+57
environment:
sdk: ^3.9.2
# 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
# Internationalization
intl: any
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
# MeshCore BLE protocol client
meshcore_client:
git:
url: https://github.com/dz0ny/meshcore_client.git
ref: 0bb339f684f709cf5b9d40c07827cc62beb18a4d
# Codec2 ultra-low-bitrate speech codec (FFI plugin)
codec2_flutter:
git:
url: https://github.com/dz0ny/codec2_flutter.git
ref: 03998a2
ffi: ^2.1.0
# Voice recording (raw PCM stream at 8000 Hz)
record: ^6.0.0
# Voice playback (plays WAV from file)
audioplayers: ^6.0.0
# BLE connectivity
flutter_blue_plus: ^2.0.0
# State management
provider: ^6.1.0
# Map display
flutter_map:
git:
url: https://github.com/fleaflet/flutter_map.git
ref: master
latlong2: ^0.9.0
fl_chart: ^1.2.0
http: ^1.2.0
# Coordinate system projections for WMS (EPSG:3794)
proj4dart: ^3.0.0
# Permissions
permission_handler: ^12.0.1
# Location services
geolocator: ^14.0.2
flutter_compass: ^0.8.0
# File handling
share_plus: ^12.0.0
path_provider: ^2.1.5
file_picker: ^10.3.3
# Image messaging (pick + AVIF encode/decode for mesh transmission)
image_picker: ^1.1.2
flutter_avif: ^3.1.0
# Persistent storage
shared_preferences: ^2.3.3
sqflite: ^2.4.2
# Package info
package_info_plus: ^9.0.0
wakelock_plus: ^1.4.0
# Background services
flutter_background_service: ^5.0.13
# Notifications
flutter_local_notifications: ^21.0.0
timezone: ^0.11.0
# Vibration
vibration: ^3.1.4
# URL launching
url_launcher: ^6.3.0
# Cryptographic functions (for channel secret hashing)
crypto: ^3.0.3
# XML parsing for GPX import/export
xml: ^6.5.0
# Network Service Discovery (Bonjour/mDNS)
nsd: ^4.0.3
usb_serial: ^0.5.2
web: ^1.1.1
flutter_libserialport: ^0.6.0
webserial: ^1.2.0
dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
# 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: ^6.0.0
flutter_launcher_icons: "^0.14.4"
fake_async: ^1.3.3
sqflite_common_ffi: ^2.3.6
dependency_overrides:
# Keep local package overrides in pubspec_overrides.yaml so CI uses the
# declared dependency source from this file.
# path_provider_foundation 2.6.0 pulls in package:objective_c as a native
# asset. That framework has been ending up archived with a macOS platform
# slice and fails App Store validation for iOS uploads.
path_provider_foundation: 2.5.1
flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "icon.png"
min_sdk_android: 21 # android min sdk min:16, default 21
web:
generate: true
image_path: "icon.png"
background_color: "#ddd" # background color for web icon, default white
theme_color: "#fff" # theme color for web icon, default white
windows:
generate: true
image_path: "icon.png"
icon_size: 48 # min:48, max:256, default: 48
macos:
generate: true
image_path: "icon.png"
# The following section is specific to Flutter packages.
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.
uses-material-design: true
# Enable generation of localization files
generate: true
assets:
- screenshots/ios/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/to/asset-from-package
# 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/to/font-from-package