name: drivervault_phone
description: "DriverVault — car control & service-tracking phone app."
publish_to: "none"
version: 0.1.0+1

environment:
  sdk: ">=3.4.0 <4.0.0"

dependencies:
  flutter:
    sdk: flutter
  http: ^1.2.0
  shared_preferences: ^2.2.0
  intl: ^0.19.0
  cupertino_icons: ^1.0.8
  image_picker: ^1.1.2
  # Attachments are PDFs as well as images, which image_picker cannot offer.
  # 12 or newer: 10 and 11 apply the Kotlin Gradle Plugin themselves, which a
  # future Flutter will refuse to build.
  file_picker: ^12.0.0
  # Opens a downloaded attachment with whatever viewer the phone has for it.
  open_filex: ^4.5.0
  path_provider: ^2.1.4
  local_auth: ^2.3.0
  local_auth_android: ^1.0.46
  # Below 11 on purpose, not because 11 is broken: v10 migrates what v9 wrote
  # with the now-deprecated Jetpack Security backend, and v11 removes that path.
  # Bump the ceiling once a v10 build has run on every device that had biometric
  # login on — see lib/biometric.dart. 10 is also what file_picker 12 needs, its
  # win32 ^6 being incompatible with v9.
  flutter_secure_storage: '>=10.0.0 <11.0.0'
  google_fonts: ^6.2.1

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^4.0.0
  flutter_launcher_icons: ^0.14.1

flutter:
  uses-material-design: true
  # Per-language UI translation files, read at runtime by lib/i18n.dart.
  assets:
    - assets/i18n/

# DriverVault launcher icon — regenerate with:
#   flutter pub run flutter_launcher_icons
flutter_launcher_icons:
  android: true
  image_path: "assets/icon/drivervault.png"
  min_sdk_android: 21
  adaptive_icon_background: "#1E40AF"
  adaptive_icon_foreground: "assets/icon/drivervault-fg.png"
